Class VWQueueDefinition
- java.lang.Object
-
- filenet.vw.api.VWTableDefinition
-
- filenet.vw.api.VWQueueDefinition
-
- All Implemented Interfaces:
- IVWTableDefinition, IVWtoXML, java.io.Serializable, java.lang.Cloneable
public final class VWQueueDefinition extends VWTableDefinition implements java.io.Serializable, IVWTableDefinition, java.lang.Cloneable, IVWtoXML
Use this class to administer queue definitions.To create and transfer queues, use the VWSystemConfiguration methods.
Users can define exposed fields and indexes for two types of queues in document-centric workflows: process and user-centric. A process queue holds objects to be processed by an external workflow program. A user-centric queue is similar to the inbox for a user, in that the user's work resides in it.
Create queues with
VWSystemConfiguration.createQueueDefinition. When you create a new queue definition in a VWSystemConfiguration object, the queue does not exist on the server until you commit the system configuration object to the workflow server usingVWSystemConfiguration.commit.Methods for Managing User and Group Access Control
This class contains the following access control methods that use VWParticipant objects:
VWQueueDefinition.setReadSecurityPx(VWParticipant[])VWQueueDefinition.setWriteSecurityPx(VWParticipant[])
After the above methods have been used to set access permissions (using VWParticipant object arrays),the following methods should be used to get the VWParticipant arrays that represent users and groups who have Create, Read, or Write access:
- VWParticipant[]
VWQueueDefinition.getReadSecurityPx() - VWParticipant[]
VWQueueDefinition.getWriteSecurityPx()
Note: VWParticipant objects are useful for representing user and group lists in a multiplatform environment. If VWParticipant objects are not needed, String arrays of user and group names can be used for users and groups. You can set access permissions using String arrays with the following methods:
After the above methods have been used to set access permissions (using String arrays), the following methods should be used to get the String arrays for the users and groups who have Create, Read, or Write access:
- String[]
VWQueueDefinition.getReadSecurity() - String[]
VWQueueDefinition.getWriteSecurity()
- Since:
- VWWS3.10
- See Also:
VWSession,VWParticipant,VWSystemConfiguration, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static intQUEUE_ON_ALL_SERVERSSigned integer value of -1. This is not a queue type, rather, this value indicates the queue is located on all servers.static intQUEUE_TYPE_PROCESSValue of 1. This field value indicates a process queue type.static intQUEUE_TYPE_SYSTEMValue of 3. This field value indicates a System queue type.static intQUEUE_TYPE_USER_CENTRICValue of 2. This field value indicates a user-centric queue type.-
Fields inherited from class filenet.vw.api.VWTableDefinition
CONFIG_TYPE_LOG, CONFIG_TYPE_QUEUE, CONFIG_TYPE_ROSTER, IWFCaseFolder, IWFCaseTask, LVALUE, RVALUE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description java.lang.Objectclone()Creates a clone of thisVWQueueDefinitionobject.VWWorkBasketDefinitioncreateCopyOfWorkBasketDefinition(java.lang.String workBasketName, VWWorkBasketDefinition origWorkBasketDef)Creates a new work basket definition using the data from the specified workbasket definition.VWExposedFieldDefinitioncreateFieldDefinition(java.lang.String theName, int theType, int theLength)Creates an exposed field in the queue, based on the specified field name and type.voidcreateFieldDefinitions(VWExposedFieldDefinition[] theDefs)Creates all of the exposed field definitions for this queue.VWIndexDefinitioncreateIndexDefinition(java.lang.String theName, java.lang.String[] theFieldNames)Creates an index definition for this queue.voidcreateIndexDefinitions(VWIndexDefinition[] theDefs)Creates all of the index definitions for this queue.VWOperationDefinitioncreateOperation(java.lang.String theName)Creates an operation definition in this queue.VWWorkBasketDefinitioncreateWorkBasketDefinition(java.lang.String workBasketName)Creates a new workbasket definition.voiddeleteFieldDefinition(java.lang.String theName)Removes the specified exposed field from this queue.voiddeleteIndexDefinition(java.lang.String theName)Removes the specified index from this queue.voiddeleteOperation(java.lang.String theName)Removes the specified operation from this queue.VWWorkBasketDefinitiondeleteWorkBasketDefinition(java.lang.String workBasketName)Deletes the specified workbasket.VWAttributeInfogetAttributeInfo()Gets the attributes for this instance, as paired labels (keywords) and values.java.lang.StringgetDescription()Gets the description associated with this queue definition.VWExposedFieldDefinitiongetField(java.lang.String name)Returns the specified exposed field definition.VWIndexDefinitiongetIndex(java.lang.String name)Gets the index definition specified for this queue definition.booleangetIsConnectorQueue()Indicates whether this queue is a connector.static java.lang.StringgetLocalizedString(int theQueueType)Gets a localized string representation of the queue type.java.lang.StringgetName()Gets the authored name of this queue.VWOperationDefinitiongetOperation(java.lang.String theName)Gets the definition of an operation existing in this queue.VWOperationDefinition[]getOperations()Gets all of the operation definitions existing in this queue.intgetQueueType()Gets the queue type of this queue definition.java.lang.String[]getReadSecurity()Gets the names of the users and/or groups having Read access to this queue.VWParticipant[]getReadSecurityPx()Gets the VWParticipant objects for the users and/or groups having Write access to this queue.intgetServerId()Gets the server ID of this queue definition.VWWorkBasketDefinitiongetWorkBasketDefinition(java.lang.String workBasketName)Gets the specified workbasket definition for this queue.VWWorkBasketDefinition[]getWorkBasketDefinitions()Gets all of the workbasket definitions for this queue.java.lang.String[]getWriteSecurity()Gets the names of the users and/or groups having Write access to this queue.VWParticipant[]getWriteSecurityPx()Gets the VWParticipant objects for the users and/or groups having Write access to this queue.booleanhasChanged()Returns a boolean value indicating whether or not this queue has changed.booleanhasFieldName(java.lang.String fieldName)Indicates whether the specified exposed field exists for this instance.static booleanisValid(int theQueueType)Validates the queue type.static VWExposedFieldDefinition[]optionalSystemFields()Gets the definitions of optional exposed queue fields.voidsetAttributeInfo(VWAttributeInfo theAttributes)Sets the attributes for this instance.voidsetDescription(java.lang.String theDescription)Sets the description for this queue definition.voidsetIsConnectorQueue(boolean isConnectorQueue)Determines whether this queue is a connector.voidsetReadSecurity(java.lang.String[] theNames)Sets Read access to the current queue for the users and/or groups specified in the String array.voidsetReadSecurityPx(VWParticipant[] thePxList)Sets Read access to the current queue for the users and/or groups referenced by the VWParticipant objects specified.voidsetServerId(int theNewServerId)Sets the server ID for the queue.voidsetWriteSecurity(java.lang.String[] theNames)Sets Write access to the current queue for the users and/or groups specified in the String array.voidsetWriteSecurityPx(VWParticipant[] thePxList)Sets Write access to the current queue for the users and/or groups referenced by the VWParticipant objects specified.java.lang.StringtoString()Gets the string version of the queue definition.voidtoXML(java.lang.StringBuffer theBuffer)Deprecated.-
Methods inherited from class filenet.vw.api.VWTableDefinition
getFields, getIndexes, optionalSystemFields
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface filenet.vw.api.IVWTableDefinition
getFields, getIndexes
-
-
-
-
Field Detail
-
QUEUE_TYPE_PROCESS
public static final int QUEUE_TYPE_PROCESS
Value of 1. This field value indicates a process queue type. A process queue holds objects processed by external workflow applications.- See Also:
- Constant Field Values
-
QUEUE_TYPE_USER_CENTRIC
public static final int QUEUE_TYPE_USER_CENTRIC
Value of 2. This field value indicates a user-centric queue type. User-centric queues are associated with a particular workflow participant. The queue acts like the inbox for the workflow participant.- See Also:
- Constant Field Values
-
QUEUE_TYPE_SYSTEM
public static final int QUEUE_TYPE_SYSTEM
Value of 3. This field value indicates a System queue type. System queues are configured by the system.- See Also:
- Constant Field Values
-
QUEUE_ON_ALL_SERVERS
public static final int QUEUE_ON_ALL_SERVERS
Signed integer value of -1. This is not a queue type, rather, this value indicates the queue is located on all servers. User-centric queues, for example, are on all servers.
-
-
Method Detail
-
createFieldDefinition
public VWExposedFieldDefinition createFieldDefinition(java.lang.String theName, int theType, int theLength) throws VWException
Creates an exposed field in the queue, based on the specified field name and type. Use exposed fields to create index definitions.When creating the name for the new exposed field, the name must:
- Begin with an alphabetic character.
- Start with characters other than "F_". An underscore is acceptable after initial letters other than "F".
- Use only alphanumeric characters
- Specified by:
createFieldDefinitionin interfaceIVWTableDefinition- Overrides:
createFieldDefinitionin classVWTableDefinition- Parameters:
theName- A String containing the name of the exposed field to create.theType- An integer value indicating the data type (arrays of types are not allowed):- 1: Integer (FIELD_TYPE_INT)
- 2: String (FIELD_TYPE_STRING)
- 4: Boolean (FIELD_TYPE_BOOLEAN)
- 8: Float (FIELD_TYPE_FLOAT)
- 16: Time (FIELD_TYPE_TIME)
theLength- An integer value specifying the length (in bytes) of string data stored in the field. Specify zero (0) if the data field type is not of type String.- Returns:
- The VWExposedFieldDefinition object for the new exposed field definition for the queue.
- Throws:
VWException- Thrown if the VWExposedFieldDefinition object cannot be returned.
-
deleteFieldDefinition
public void deleteFieldDefinition(java.lang.String theName) throws VWExceptionRemoves the specified exposed field from this queue.- Specified by:
deleteFieldDefinitionin interfaceIVWTableDefinition- Overrides:
deleteFieldDefinitionin classVWTableDefinition- Parameters:
theName- A String containing the name of the exposed field being deleted from the queue.- Throws:
VWException- Thrown if the field name specified cannot be found.
-
createFieldDefinitions
public void createFieldDefinitions(VWExposedFieldDefinition[] theDefs) throws VWException
Creates all of the exposed field definitions for this queue.This is a helper function for the JNI operations to easily add the field definitions.
- Parameters:
theDefs- An array of VWExposedFieldDefinition objects for the field definitions to create in this queue.- Throws:
VWException
-
createIndexDefinition
public VWIndexDefinition createIndexDefinition(java.lang.String theName, java.lang.String[] theFieldNames) throws VWException
Creates an index definition for this queue.Specify the index name and an array of system fields and/or user-defined exposed fields to create the definition of the concatenated index. Use at least one field name to create the index.
The index name must:
- Start with characters other than "F_". An underscore is acceptable after initial letters other than "F".
- Use only alphanumeric characters
- Specified by:
createIndexDefinitionin interfaceIVWTableDefinition- Specified by:
createIndexDefinitionin classVWTableDefinition- Parameters:
theName- A String containing the name to assign to the index.theFieldNames- A String array of system fields and/or user-defined exposed fields.- Returns:
- A VWIndexDefinition object for the index definition created.
- Throws:
VWException- Thrown if the specified index name is invalid, or if the specified fields are undefined.
-
deleteIndexDefinition
public void deleteIndexDefinition(java.lang.String theName) throws VWExceptionRemoves the specified index from this queue.- Specified by:
deleteIndexDefinitionin interfaceIVWTableDefinition- Overrides:
deleteIndexDefinitionin classVWTableDefinition- Parameters:
theName- A String containing the name of the index being deleted from the queue.- Throws:
VWException- Thrown if the index specified cannot be found.
-
createIndexDefinitions
public void createIndexDefinitions(VWIndexDefinition[] theDefs) throws VWException
Creates all of the index definitions for this queue.This is a helper function for the JNI operations to easily add the index definitions.
- Parameters:
theDefs- An array of VWIndexDefinition objects for the indexes to create in this queue.- Throws:
VWException
-
getField
public VWExposedFieldDefinition getField(java.lang.String name) throws VWException
Returns the specified exposed field definition.If a translation source exists, the authored field information is translated.
- Parameters:
name- A String containing the field name.- Returns:
- A VWExposedFieldDefinition object for the field information (translated, if a translation
source exists). If the field cannot be found,
nullis returned. - Throws:
VWException- Since:
- P8 4.0
-
getOperations
public VWOperationDefinition[] getOperations() throws VWException
Gets all of the operation definitions existing in this queue. If a translation source exists, the authored operation information is translated.Note: The translation is done only at runtime, so will not appear in design-time applications (such as the Process Designer or Configuration Console).
- Returns:
- An array of VWOperationDefinition objects for the operations. If a translation source exists, the translated operation information is returned; otherwise, the authored information is returned. If no associated operation definitions exist, null is returned.
- Throws:
VWException- Thrown if the array contains invalid elements.- See Also:
VWOperationDefinition
-
getOperation
public VWOperationDefinition getOperation(java.lang.String theName) throws VWException
Gets the definition of an operation existing in this queue. If a translation source exists, the authored operation information is translated.Note: The translation is done only at runtime, so will not appear in design-time applications (such as the Process Designer or Configuration Console).
- Parameters:
theName- A String containing the operation name.- Returns:
- The VWOperationDefinition object for the specified operation. If a translation source exists, the translated operation information is returned; otherwise, the authored information is returned.
- Throws:
VWException- Thrown if the operation specified cannot be found.- See Also:
VWOperationDefinition
-
deleteOperation
public void deleteOperation(java.lang.String theName) throws VWExceptionRemoves the specified operation from this queue.- Parameters:
theName- A String containing the name of the operation to be deleted from the queue.- Throws:
VWException- Thrown if the operation specified cannot be found.
-
createOperation
public VWOperationDefinition createOperation(java.lang.String theName) throws VWException
Creates an operation definition in this queue.- Parameters:
theName- The name of the operation being created.- Returns:
- A VWOperationDefinition object for the specified operation.
- Throws:
VWException- Thrown if an operation definition cannot be created in this queue.- See Also:
VWOperationDefinition
-
getWorkBasketDefinition
public VWWorkBasketDefinition getWorkBasketDefinition(java.lang.String workBasketName) throws VWException
Gets the specified workbasket definition for this queue.- Parameters:
workBasketName- A String containing the name of the workbasket.- Returns:
- The VWWorkBasketDefinition object for the workbasket, or null if the workbasket definition is not found.
- Throws:
VWException- Since:
- P8 4.5.0
-
getWorkBasketDefinitions
public VWWorkBasketDefinition[] getWorkBasketDefinitions() throws VWException
Gets all of the workbasket definitions for this queue.- Returns:
- An array of VWWorkBasketDefinition objects, or
nullif no work baskets are found. - Throws:
VWException- Since:
- P8 4.5.0
-
createWorkBasketDefinition
public VWWorkBasketDefinition createWorkBasketDefinition(java.lang.String workBasketName) throws VWException
Creates a new workbasket definition.- Parameters:
workBasketName- A String containing the name to use for the workbasket definition.- Returns:
- The VWWorkBasketDefinition object for the new workbasket definition.
- Throws:
VWException- Thrown if a workbasket definition having the specified name already exists.- Since:
- P8 4.5.0
-
deleteWorkBasketDefinition
public VWWorkBasketDefinition deleteWorkBasketDefinition(java.lang.String workBasketName) throws VWException
Deletes the specified workbasket.- Parameters:
workBasketName- A String containing the name of the work basket to be deleted.- Returns:
- A VWWorkBasketDefinition object for the workbasket deleted.
- Throws:
VWException- Thrown if the specified work basket name is null or invalid.- Since:
- P8 4.5.0
- See Also:
VWWorkBasketDefinition
-
createCopyOfWorkBasketDefinition
public VWWorkBasketDefinition createCopyOfWorkBasketDefinition(java.lang.String workBasketName, VWWorkBasketDefinition origWorkBasketDef) throws VWException
Creates a new work basket definition using the data from the specified workbasket definition.- Parameters:
workBasketName- A String containing the name to use for the workbasket definition.origWorkBasketDef- A VWWorkBasketDefinition object for the workbasket definition to copy.- Returns:
- The VWWorkBasketDefinition object for the new workbasket definition.
- Throws:
VWException- Thrown if a work basket definition having the specified name already exists.- Since:
- P8 4.5.0
-
getIndex
public VWIndexDefinition getIndex(java.lang.String name) throws VWException
Gets the index definition specified for this queue definition.If a translation source exists, the authored index information is translated.
- Parameters:
name- A String containing the index name.- Returns:
- A VWIndexDefinition object for the index information (translated, if a translation
source exists). If the index cannot be found,
nullis returned. - Throws:
VWException- Since:
- P8 4.0
-
getName
public java.lang.String getName()
Gets the authored name of this queue.- Specified by:
getNamein interfaceIVWTableDefinition- Overrides:
getNamein classVWTableDefinition- Returns:
- A String containing the authored name of this queue.
-
getQueueType
public int getQueueType()
Gets the queue type of this queue definition.- Returns:
- An integer value indicating the queue type. Valid
queue types are:
- 1: QUEUE_TYPE_PROCESS
- 2: QUEUE_TYPE_USER_CENTRIC
- 3: QUEUE_TYPE_SYSTEM
-
getReadSecurity
public java.lang.String[] getReadSecurity()
Gets the names of the users and/or groups having Read access to this queue.Note: Use this method in conjunction with setReadSecurity(); do not use this method with setReadSecurityPx().
For more information see Managing User Lists and Different Types of Security.
- Overrides:
getReadSecurityin classVWTableDefinition- Returns:
- A String array containing the names of the users and/or groups having Read access to this queue.
- Throws:
VWException
-
getReadSecurityPx
public VWParticipant[] getReadSecurityPx() throws VWException
Gets the VWParticipant objects for the users and/or groups having Write access to this queue.Note: Use this method in conjunction with setWriteSecurityPx(); do not use this method with setWriteSecurity().
For more information see Managing User Lists and Different Types of Security.
- Overrides:
getReadSecurityPxin classVWTableDefinition- Returns:
- An array of VWParticipant objects for the users and/or groups having Write access to this queue.
- Throws:
VWException
-
setReadSecurity
public void setReadSecurity(java.lang.String[] theNames) throws VWExceptionSets Read access to the current queue for the users and/or groups specified in the String array.No validation is performed, but user and group information can be validated subsequently using the
VWSystemConfiguration.commit()method.Note: Use this method in conjunction with getReadSecurity(); do not use this method with getReadSecurityPx().
For more information see Managing User Lists and Different Types of Security.
- Parameters:
theNames- A String array containing the names of the users and/or groups who are being granted Read access.- Throws:
VWException
-
setReadSecurityPx
public void setReadSecurityPx(VWParticipant[] thePxList) throws VWException
Sets Read access to the current queue for the users and/or groups referenced by the VWParticipant objects specified.No validation is performed, but user and group information can be validated subsequently using the
VWSystemConfiguration.commit()method.Note: Use this method in conjunction with getReadSecurityPx(); do not use this method with getReadSecurity().
For more information see Managing User Lists and Different Types of Security.
- Parameters:
thePxList- An array of VWParticipant objects for the users and/or groups who are being granted Write access.- Throws:
VWException
-
getServerId
public int getServerId()
Gets the server ID of this queue definition.- Overrides:
getServerIdin classVWTableDefinition- Returns:
- An integer value for the server ID.
-
setServerId
public void setServerId(int theNewServerId) throws VWExceptionSets the server ID for the queue.Server ID validation occurs only after the information is transferred to the VWService.
- Overrides:
setServerIdin classVWTableDefinition- Parameters:
theNewServerId- An integer value used to set as the new Server ID.- Throws:
VWException- Thrown if the server ID specified in the theNewServerId parameter is invalid.
-
getWriteSecurity
public java.lang.String[] getWriteSecurity()
Gets the names of the users and/or groups having Write access to this queue.Note: Use this method in conjunction with setWriteSecurity(); do not use this method with setWriteSecurityPx().
For more information see Managing User Lists and Different Types of Security.
- Overrides:
getWriteSecurityin classVWTableDefinition- Returns:
- A String array containing the names of the users and/or groups having Write access to this queue.
- Throws:
VWException
-
getWriteSecurityPx
public VWParticipant[] getWriteSecurityPx() throws VWException
Gets the VWParticipant objects for the users and/or groups having Write access to this queue.Note: Use this method in conjunction with setWriteSecurityPx(); do not use this method with setWriteSecurity().
For more information see Managing User Lists and Different Types of Security.
- Overrides:
getWriteSecurityPxin classVWTableDefinition- Returns:
- An array of VWParticipant objects for the users and/or groups having Write access to this queue.
- Throws:
VWException
-
setWriteSecurity
public void setWriteSecurity(java.lang.String[] theNames) throws VWExceptionSets Write access to the current queue for the users and/or groups specified in the String array.No validation is performed, but user and group information can be validated subsequently using the
VWSystemConfiguration.commit()method.Note: Use this method in conjunction with getWriteSecurity(); do not use this method with getWreateSecurityPx().
For more information see Managing User Lists and Different Types of Security.
- Parameters:
theNames- A String array containing the names of the users and/or groups who are being granted Write access.- Throws:
VWException- Thrown if Write access permissions cannot be set for the queue.
-
setWriteSecurityPx
public void setWriteSecurityPx(VWParticipant[] thePxList) throws VWException
Sets Write access to the current queue for the users and/or groups referenced by the VWParticipant objects specified.No validation is performed, but user and group information can be validated subsequently using the
VWSystemConfiguration.commit()method.Note: Use this method in conjunction with getWriteSecurityPx(); do not use this method with getWreateSecurity().
For more information see Managing User Lists and Different Types of Security.
- Parameters:
thePxList- An array of VWParticipant objects for the users and/or groups who are being granted Write access.- Throws:
VWException- Thrown if Write access permissions cannot be set for the queue.
-
getDescription
public java.lang.String getDescription()
Gets the description associated with this queue definition. If a translation source exists, the authored description is translated.Note: The translation is done only at runtime, so will not appear in design-time applications (such as the Process Designer or Configuration Console).
- Specified by:
getDescriptionin interfaceIVWTableDefinition- Overrides:
getDescriptionin classVWTableDefinition- Returns:
- A String containing the translated description, if a translation source exists; otherwise the authored description is returned.
-
setDescription
public void setDescription(java.lang.String theDescription)
Sets the description for this queue definition.- Specified by:
setDescriptionin interfaceIVWTableDefinition- Overrides:
setDescriptionin classVWTableDefinition- Parameters:
theDescription- A String containing the description for the queue definition.
-
toString
public java.lang.String toString()
Gets the string version of the queue definition.- Specified by:
toStringin interfaceIVWTableDefinition- Overrides:
toStringin classVWTableDefinition- Returns:
- A String representation of the queue definition.
-
toXML
public void toXML(java.lang.StringBuffer theBuffer) throws VWExceptionDeprecated. UseVWXMLConfiguration.makeXMLBlock(IVWtoXML[]).Appends an XML string representing this instance to the buffer specified.Warning: This XML string is nonextensible, and cannot be modified in any way.
- Specified by:
toXMLin interfaceIVWtoXML- Parameters:
theBuffer- A StringBuffer that will be appended with the XML content.- Throws:
VWException- Thrown if the specified buffer is null.- See Also:
VWXMLConfiguration
-
hasChanged
public boolean hasChanged() throws VWExceptionReturns a boolean value indicating whether or not this queue has changed.- Returns:
- A value of
trueif this queue has changed;falseotherwise. - Throws:
VWException- Thrown if an error occurs.- Since:
- PE 4.5.0
-
optionalSystemFields
public static VWExposedFieldDefinition[] optionalSystemFields() throws VWException
Gets the definitions of optional exposed queue fields.- Returns:
- An array of VWExposedFieldDefinition objects that represent the exposed field definitions of optional workflow system fields.
- Throws:
VWException- Thrown if the optional exposed fields cannot be found.
-
getLocalizedString
public static java.lang.String getLocalizedString(int theQueueType) throws VWExceptionGets a localized string representation of the queue type.- Parameters:
theQueueType- An integer value associated with the queue type.- Returns:
- The localized version of the queue type.
- Throws:
VWException- Thrown if the queue type value specified in the theQueueType parameter is invalid.
-
isValid
public static boolean isValid(int theQueueType)
Validates the queue type.- Parameters:
theQueueType- The integer value associated with the queue type value to be validated.- Returns:
- A boolean value of
trueif the queue type value specified is valid;falseotherwise.
-
hasFieldName
public boolean hasFieldName(java.lang.String fieldName) throws VWExceptionIndicates whether the specified exposed field exists for this instance.- Overrides:
hasFieldNamein classVWTableDefinition- Parameters:
fieldName- The name of the field. If a translation source exists, the authored field name is translated.Note: The translation is done only at runtime, so will not appear in design-time applications (such as the Process Designer or Configuration Console).
- Returns:
- A boolean value of true if the field name specified exists; otherwise, false.
- Throws:
VWException- Thrown if the fieldName parameter is null.
-
clone
public java.lang.Object clone()
Creates a clone of thisVWQueueDefinitionobject.- Overrides:
clonein classVWTableDefinition- Returns:
- A clone of this instance.
-
getAttributeInfo
public VWAttributeInfo getAttributeInfo() throws VWException
Gets the attributes for this instance, as paired labels (keywords) and values.- Returns:
- A VWAttribute object containing the attributes for this object as paired labels (keywords) and values in String format.
- Throws:
VWException- See Also:
VWQueueDefinition.setAttributeInfo(filenet.vw.api.VWAttributeInfo)
-
setAttributeInfo
public void setAttributeInfo(VWAttributeInfo theAttributes) throws VWException
Sets the attributes for this instance.- Parameters:
theAttributes- A VWAttribute object containing the attributes for this instance, as paired labels (keywords) and values in String format.- Throws:
VWException- See Also:
VWQueueDefinition.getAttributeInfo()
-
getIsConnectorQueue
public boolean getIsConnectorQueue()
Indicates whether this queue is a connector.- Returns:
- isConnectorQueue A boolean value of true if this queue is a connector queue; false otherwise.
-
setIsConnectorQueue
public void setIsConnectorQueue(boolean isConnectorQueue)
Determines whether this queue is a connector.- Parameters:
isConnectorQueue- A boolean value of true indicates this queue is a connector queue; false indicates it is not.
-
-