Examples of LLValue


Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public synchronized ClientValue GetCookieInfo()
      throws RepositoryException {
    LLValue cookies = new LLValue();
    try {
      if (users.GetCookieInfo(cookies) != 0)
        throw new LapiException(session, LOGGER);
    } catch (RuntimeException e) {
      throw getLivelinkException(e);
View Full Code Here

Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public synchronized ClientValue GetUserOrGroupByIDNoThrow(int id)
      throws RepositoryException {
    LLValue userInfo = new LLValue();
    try {
      if (users.GetUserOrGroupByID(id, userInfo) != 0) {
        if (LOGGER.isLoggable(Level.FINE))
          LOGGER.fine(LapiException.buildMessage(session));
        return null;
View Full Code Here

Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public synchronized ClientValue GetUserInfo(String username)
      throws RepositoryException {
    LLValue userInfo = new LLValue();
    try {
      if (users.GetUserInfo(username, userInfo) != 0)
        throw new LapiException(session, LOGGER);
    } catch (RuntimeException e) {
      throw getLivelinkException(e);
View Full Code Here

Examples of com.opentext.api.LLValue

  }

  /** {@inheritDoc} */
  @Override
  public ClientValue ListGroups() throws RepositoryException {
    LLValue groupInfo = new LLValue();
    try {
      if (users.ListGroups(Client.GROUP, groupInfo) != 0) {
        throw new LapiException(session, LOGGER);
      }
    } catch (RuntimeException e) {
View Full Code Here

Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public ClientValue ListMembers(String groupName)
      throws RepositoryException {
    LLValue memberInfo = new LLValue();
    try {
      if (users.ListMembers(Client.GROUP, groupName, memberInfo) != 0) {
        throw new LapiException(session, LOGGER);
      }
    } catch (RuntimeException e) {
View Full Code Here

Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public synchronized ClientValue AccessEnterpriseWS()
      throws RepositoryException {
    LLValue info = new LLValue();
    try {
      if (documents.AccessEnterpriseWS(info) != 0)
        throw new LapiException(session, LOGGER);
    } catch (RuntimeException e) {
      throw getLivelinkException(e);
View Full Code Here

Examples of com.opentext.api.LLValue

   * returns a non-zero value, or the recarray if the call succeeeds
   * @throws RepositoryException if a runtime error occurs
   */
  private ClientValue listNodesHelper(String query, String view,
      String[] columns) throws RepositoryException {
    LLValue recArray = new LLValue();
    LLValue args = (new LLValue()).setList();
    LLValue columnsList = (new LLValue()).setList();

    for (int i = 0; i < columns.length; i++)
      columnsList.add(columns[i]);

    try {
      if (documents.ListNodes(query, args, view, columnsList,
              LAPI_DOCUMENTS.PERM_SEECONTENTS,
              LLValue.LL_FALSE, recArray) != 0) {
View Full Code Here

Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public synchronized ClientValue GetObjectInfo(int volumeId, int objectId)
      throws RepositoryException {
    LLValue objectInfo = new LLValue();
    try {
      if (documents.GetObjectInfo(volumeId, objectId, objectInfo) != 0) {
        throw new LapiException(session, LOGGER);
      }
    } catch (RuntimeException e) {
View Full Code Here

Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public synchronized ClientValue GetObjectAttributesEx(
      ClientValue objectIdAssoc, ClientValue categoryIdAssoc)
      throws RepositoryException {
    LLValue categoryVersion = new LLValue();
    try {
      LLValue objIDa = ((LapiClientValue) objectIdAssoc).getLLValue();
      LLValue catIDa = ((LapiClientValue) categoryIdAssoc).getLLValue();
      if (documents.GetObjectAttributesEx(objIDa, catIDa,
              categoryVersion) != 0) {
        throw new LapiException(session, LOGGER);
      }
    } catch (RuntimeException e) {
View Full Code Here

Examples of com.opentext.api.LLValue

  /** {@inheritDoc} */
  @Override
  public synchronized ClientValue AttrListNames(ClientValue categoryVersion,
      ClientValue attributeSetPath) throws RepositoryException {
    LLValue attrNames = new LLValue();
    try {
      LLValue catVersion =
          ((LapiClientValue) categoryVersion).getLLValue();
      LLValue attrPath = (attributeSetPath == null) ? null :
          ((LapiClientValue) attributeSetPath).getLLValue();

      // LAPI AttrListNames method does not reset the session status.
      session.setError(0, "");
      if (attributes.AttrListNames(catVersion, attrPath,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.