|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.da.AttributeAccess
Access to data relating to attributes.
AttributeAccess| Constructor Summary | |
AttributeAccess()
Constructor used by DAFactory. |
|
| Method Summary | |
void |
deleteQueryColumnIDs(java.lang.String userID,
java.lang.String listID,
java.lang.String moduleID,
java.lang.String artifactTypeID)
Deletes the persisted choice of issue list display columns for the given user and artifact type(s). |
java.util.Collection |
retrieveActiveAttributeOMs(java.lang.String moduleID,
java.lang.String artifactTypeID,
boolean isOrdered)
Torque Attributes which are active within the
given module for the given issue type
|
java.lang.String |
retrieveDefaultTextAttributeID(java.lang.String moduleID,
java.lang.String artifactTypeID)
Retrieves the attribute ID which is active and marked as the default text attribute within the given module for the given issue type and whose attribute group is also active. |
java.lang.String |
retrieveFirstActiveTextAttributeID(java.lang.String moduleID,
java.lang.String artifactTypeID)
Retrieves the attribute ID which is active and is the first id returned when results are ordered based on numerical preferred order and/or alphabetical by name within the given module for the given issue type and whose attribute group is also active. |
java.util.List |
retrieveQueryColumnIDs(java.lang.String userID,
java.lang.String listID,
java.lang.String moduleID,
java.lang.String artifactTypeID)
Retrieves a list of attribute identifiers for use in determining which columns to display for a user's query results. |
java.util.Set |
retrieveQuickSearchAttributeIDs(java.lang.String moduleID,
java.lang.String artifactTypeID)
Set of attributeIDs which are active and marked for custom search within the given module for the given issue type and whose attribute group's are also active. |
java.util.Set |
retrieveRequiredAttributeIDs(java.lang.String moduleID,
java.lang.String artifactTypeID)
Set of attributeIDs which are active and required within the given module for the given issue type and whose attribute group's are also active. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeAccess()
DAFactory.
| Method Detail |
public java.util.List retrieveQueryColumnIDs(java.lang.String userID,
java.lang.String listID,
java.lang.String moduleID,
java.lang.String artifactTypeID)
throws DAException
userID - The associated user (must be
non-null).listID - The associated artifact type list (can be
null).moduleID - The associated module (ignored if null).artifactTypeID - The associated artifact type (ignored if
null).
DAException - If any problems are encountered.
public void deleteQueryColumnIDs(java.lang.String userID,
java.lang.String listID,
java.lang.String moduleID,
java.lang.String artifactTypeID)
throws DAException
userID - The associated user (must be
non-null).listID - The associated artifact type list (can be
null).moduleID - The associated module (ignored if null).artifactTypeID - The associated artifact type (ignored if
null).
DAException - If any problems are encountered.
public java.util.Set retrieveRequiredAttributeIDs(java.lang.String moduleID,
java.lang.String artifactTypeID)
throws DAException
moduleID - The associated module (must be
non-null).artifactTypeID - The associated artifact type (must be
non-null).
String of String attribute ids
DAException
public java.util.Set retrieveQuickSearchAttributeIDs(java.lang.String moduleID,
java.lang.String artifactTypeID)
throws DAException
moduleID - The associated module (must be
non-null).artifactTypeID - The associated artifact type (must be
non-null).
Set of String attribute ids
DAException
public java.util.Collection retrieveActiveAttributeOMs(java.lang.String moduleID,
java.lang.String artifactTypeID,
boolean isOrdered)
throws DAException
Attributes which are active within the
given module for the given issue type
moduleID - The associated module (must be
non-null).artifactTypeID - The associated artifact type (must be
non-null).isOrdered - indication whether an iterator over the Attributes
should return them in their natural order.
Collection of torque Attribute objects. The
collection will be a List if isOrdered is true, otherwise a Set is
returned.
DAException
public java.lang.String retrieveDefaultTextAttributeID(java.lang.String moduleID,
java.lang.String artifactTypeID)
throws DAException
moduleID - The associated module (must be
non-null).artifactTypeID - The associated artifact type (must be
non-null).
String attribute ID
DAException
public java.lang.String retrieveFirstActiveTextAttributeID(java.lang.String moduleID,
java.lang.String artifactTypeID)
throws DAException
moduleID - The associated module (must be
non-null).artifactTypeID - The associated artifact type (must be
non-null).
String attribute ID.
DAException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||