Package org.bgerp.dao.expression

# Class ProcessLinkExpressionObject

java.lang.Object
org.bgerp.dao.expression.ProcessLinkExpressionObject

All Implemented Interfaces:
  `ExpressionObject`

public class ProcessLinkExpressionObject extends Object implements ExpressionObject
Expression object for operations with process links

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ProcessLinkExpressionObject(Connection con, int processId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static final boolean`
  `called(String expression)`
  `String`
  `linkTitle(String typeLike)`
  Calls `linkTitles(String)`, and returns first title link object.
  `List<String>`
  `linkTitles(String typeLike)`
  Calls `CommonLinkDAO.getObjectLinksWithType(int, String)`
  `void`
  `toContext(Map<String,Object> context)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ProcessLinkExpressionObject

    public ProcessLinkExpressionObject(Connection con, int processId)

- ## Method Details

  - ### called

    public static final boolean called(String expression)

  - ### toContext

    public void toContext(Map<String,Object> context)
    Specified by:
      `toContext` in interface `ExpressionObject`

  - ### linkTitles

    public List<String> linkTitles(String typeLike) throws Exception
    Calls `CommonLinkDAO.getObjectLinksWithType(int, String)`
    Parameters:
      `typeLike` - SQL LIKE expression for link type.
    Returns:
      list of links.
    Throws:
      `Exception`

  - ### linkTitle

    public String linkTitle(String typeLike) throws Exception
    Calls `linkTitles(String)`, and returns first title link object.
    Returns:
      title of the the first link or null.
    Throws:
      `Exception`