|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.om.BaseObject
org.tigris.scarab.om.AbstractScarabModule
The ScarabModule class is the focal point for dealing with Modules. It implements the concept of a Module which is a single module and is the base interface for all Modules. In code, one should never reference ScarabModule directly -- use its Module interface instead. This allows us to swap out Module implementations by modifying the Scarab.properties file.
This class is the base class for
org.tigris.scarab.om.ScarabModule. BaseScarabModule extends
this class and that definition is defined in the scarab-schema.xml
which is used by Torque to generated BaseScarabModule.
| Field Summary | |
protected static java.lang.String |
GET_ALL_R_MODULE_OPTIONS
|
protected static java.lang.String |
GET_AVAILABLE_ISSUE_TYPES
|
protected static java.lang.String |
GET_DEDUPE_GROUPS_WITH_ATTRIBUTES
|
protected static java.lang.String |
GET_DEFAULT_RMODULE_USERATTRIBUTES
|
protected static java.lang.String |
GET_ISSUE_TYPES
|
protected static java.lang.String |
GET_LEAF_R_MODULE_OPTIONS
|
protected static java.lang.String |
GET_NAV_ISSUE_TYPES
|
protected static java.lang.String |
GET_R_MODULE_ATTRIBUTES
|
protected static java.lang.String |
GET_R_MODULE_ISSUE_TYPE
|
protected static java.lang.String |
GET_R_MODULE_ISSUE_TYPES
|
protected static java.lang.String |
GET_SAVED_REPORTS
|
protected static java.lang.String |
GET_TEMPLATE_TYPES
|
protected static java.lang.String |
GET_UNAPPROVED_QUERIES
|
protected static java.lang.String |
GET_UNAPPROVED_TEMPLATES
|
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Fields inherited from interface org.tigris.scarab.om.Module |
NAME_DELIMINATOR, NON_USER, ROOT_ID, USER |
| Constructor Summary | |
AbstractScarabModule()
|
|
| Method Summary | |
void |
addAttributeOption(IssueType issueType,
AttributeOption option)
Adds attribute options to a module. |
void |
addIssueType(IssueType issueType)
Adds an issue type to a module Copies properties from the global issue type's settings |
RModuleAttribute |
addRModuleAttribute(IssueType issueType,
Attribute attribute)
Adds module-attribute mapping to module. |
RModuleOption |
addRModuleOption(IssueType issueType,
AttributeOption option)
Adds module-attribute-option mapping to module. |
boolean |
allowsIssues()
Determines whether this module accepts issues. |
boolean |
allowsMultipleVoting()
Determines whether this module allows users to vote many times for the same issue. |
boolean |
allowsNewIssues()
Determines whether this module is accepting new issues. |
int |
compareTo(java.lang.Object obj)
Used for ordering Groups. |
AttributeGroup |
createNewGroup(IssueType issueType)
Creates new attribute group. |
java.util.List |
getActiveAttributesByName(IssueType issueType,
java.lang.String attributeType)
gets a list of all of the active Attributes. ordered by name |
java.util.List |
getAllAttributeOptions(java.lang.Integer attributeId)
Return the list of attribute options for attribute with given attributeId. |
java.util.List |
getAllAttributes()
gets a list of all of the Attributes in this module. |
java.util.List |
getAllOptionAttributes()
Return the list of option attributes (ATTRIBUTE_ID=5). |
java.util.List |
getAncestors()
Returns this ModuleEntities ancestors in ascending order. |
abstract java.lang.String |
getArchiveEmail()
All emails related to this module will have a copy sent to this address. |
java.util.List |
getAttributeOptions(Attribute attribute,
IssueType issueType)
Gets the modules list of attribute options. |
java.util.List |
getAttributes(org.apache.torque.util.Criteria criteria)
gets a list of all of the Attributes in a Module based on the Criteria. |
java.util.List |
getAttributes(IssueType issueType)
Gets a list of attributes for this module with a specific issue type. |
java.util.List |
getAvailableAttributeOptions(Attribute attribute,
IssueType issueType)
gets a list of all of the Attribute options that are not associated with this module and attribute. |
java.util.List |
getAvailableAttributes(IssueType issueType,
java.lang.String attributeType)
gets a list of all of the global Attributes that are not associated with this module and issue type |
java.util.List |
getAvailableIssueTypes()
gets a list of all of the issue types that are not associated with this module |
java.util.List |
getDedupeAttributeGroups(IssueType issueType)
List of active dedupe attribute groups associated with this module. |
java.util.List |
getDedupeAttributeGroups(IssueType issueType,
boolean activeOnly)
List of attribute groups associated with this module. |
java.util.List |
getDedupeGroupsWithAttributes(IssueType issueType)
This method is used within Wizard1.vm to get a list of attribute groups which are marked as dedupe and have a list of attributes in them. |
int |
getDedupeSequence(IssueType issueType)
Gets the sequence where the dedupe screen fits between groups. |
java.util.List |
getDefaultRModuleUserAttributes(IssueType issueType)
Returns default issue list attributes for this module. |
ScarabUser[] |
getEligibleIssueReporters()
|
ScarabUser[] |
getEligibleUsers(Attribute attribute)
The users who are possible candidates as values for the given attribute. |
Issue |
getIssueById(java.lang.String id)
Deprecated. use IssueManager.getIssueById(String id, String defaultCode) |
org.apache.regexp.REProgram |
getIssueRegex()
returns a compiled regex that can used to create a new RE for matching some given text. |
java.lang.String |
getIssueRegexString()
|
java.util.List |
getIssueTypes()
gets a list of the Issue Types for this module. only shows active issue types |
java.util.List |
getIssueTypes(boolean activeOnly)
gets a list of the Issue Types for this module. only shows active issue types |
int |
getLastAttribute(IssueType issueType,
java.lang.String attributeType)
FIXME: can this be done more efficently? |
int |
getLastAttributeOption(Attribute attribute,
IssueType issueType)
FIXME: can this be done more efficently? |
java.util.List |
getLeafRModuleOptions(Attribute attribute,
IssueType issuetype)
|
java.util.List |
getLeafRModuleOptions(Attribute attribute,
IssueType issueType,
boolean activeOnly)
|
java.util.Locale |
getLocale()
Simple implementation returns the single configured default locale from TR.props. |
abstract java.lang.Integer |
getModuleId()
|
java.lang.String |
getName()
This method is an implementation of the Group.getName() method and returns a module along with its ancestors |
java.util.List |
getNavIssueTypes()
gets a list of the Issue Types for this module. |
Issue |
getNewIssue(IssueType issueType)
Creates a new Issue. |
java.util.List |
getOptionTree(Attribute attribute,
IssueType issueType)
Gets a list of active RModuleOptions which have had their level within the options for this module set. |
java.util.List |
getOptionTree(Attribute attribute,
IssueType issueType,
boolean activeOnly)
Gets a list of RModuleOptions which have had their level within the options for this module set. |
abstract Module |
getParent()
Get this module's immediate parent module |
abstract java.lang.String |
getRealName()
This method is only used by the Turbine Group interface. |
RModuleAttribute |
getRModuleAttribute(Attribute attribute,
IssueType issueType)
|
java.util.List |
getRModuleAttributes(org.apache.torque.util.Criteria crit)
Returns RModuleAttributes associated with this module through the foreign key in the schema. |
java.util.List |
getRModuleAttributes(IssueType issueType)
Overridden method. |
java.util.List |
getRModuleAttributes(IssueType issueType,
boolean activeOnly)
Overridden method. |
java.util.List |
getRModuleAttributes(IssueType issueType,
boolean activeOnly,
java.lang.String attributeType)
|
RModuleIssueType |
getRModuleIssueType(IssueType issueType)
|
abstract java.util.List |
getRModuleIssueTypes()
This method is implemented in ScarabModule |
java.util.List |
getRModuleIssueTypes(java.lang.String sortColumn,
java.lang.String sortPolarity)
|
RModuleOption |
getRModuleOption(AttributeOption option,
IssueType issueType)
|
java.util.List |
getRModuleOptions(Attribute attribute,
IssueType issueType)
|
java.util.List |
getRModuleOptions(Attribute attribute,
IssueType issueType,
boolean activeOnly)
|
abstract java.util.List |
getRModuleOptions(org.apache.torque.util.Criteria crit)
Overridden method. |
java.util.List |
getSavedReports(ScarabUser user)
List of saved reports associated with this module and created by this user. |
java.lang.String[] |
getSystemEmail()
The default address that is used to fill out either the From or ReplyTo header on emails related to this module. |
java.util.List |
getTemplateTypes()
|
java.util.List |
getUnapprovedQueries()
Returns list of queries needing approval. |
java.util.List |
getUnapprovedTemplates()
Returns list of enter issue templates needing approval. |
int |
getUnusedVoteCount(ScarabUser user)
How many votes does the user have left to cast. |
java.util.List |
getUserAttributes(IssueType issueType)
gets a list of all of the User Attributes in a Module. |
java.util.List |
getUserAttributes(IssueType issueType,
boolean activeOnly)
gets a list of all of the User Attributes in a Module. |
java.util.List |
getUserPermissions(IssueType issueType)
gets a list of permissions associated with the User Attributes that are active for this Module. |
abstract ScarabUser[] |
getUsers(java.util.List permissions)
Get a list of ScarabUser's that have any of the given
permissions in the given module. |
abstract ScarabUser[] |
getUsers(java.lang.String permission)
Get a list of ScarabUser's that have the given
permission in the given module. |
protected java.lang.String |
getValidationMessage(java.lang.String typeName,
java.lang.String detail)
|
boolean |
hasAttributes(IssueType issueType)
Returns true if module has attributes associated with issue type. |
boolean |
includesIssueType(IssueType issueType)
|
protected void |
inheritFromParent(Module parentModule)
sets up attributes and issue types for this module based on. |
boolean |
isEndlessLoop(Module parent)
check for endless loops where Module A > Module B > Module A |
boolean |
isGlobalModule()
Returns true if this module is the the top level parent module. |
boolean |
isInitializing()
Returns true if no issue types are associated with this module, or if the module is currently getting its initial values set. |
protected void |
resetAncestors()
Should be called when the parentage is modified. |
protected void |
setInitialAttributesAndIssueTypes()
for a new module: inherit issue types from parent module and from the issue types marked as default parent configuration takes precedence over default |
void |
setName(java.lang.String name)
This method is an implementation of the Group.setName() method |
abstract void |
setParent(Module v)
Set this module's immediate parent module |
void |
setRmaBasedOnIssueType(RIssueTypeAttribute ria)
|
void |
setRmoBasedOnIssueType(RIssueTypeOption rio)
|
void |
shiftAttributeOption(Attribute attribute,
IssueType issueType,
int offset)
|
java.lang.String |
toString()
|
| Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getByName, getByPeerName, getByPosition, getLog, getPrimaryKey, hashCode, isModified, isNew, resetModified, save, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.tigris.scarab.om.Module |
getCode, getCommentRenderingEngine, getDeleted, getDescription, getHttpDomain, getOwnerId, getParentId, getPort, getPrimaryKey, getQaContactId, getQueryKey, getRequiredRole, getRoles, getScarabInstanceId, getScheme, getScriptName, getUrl, getUsers, getUsers, isIssueReasonRequired, isIssueReasonRequiredInherited, setCode, setDeleted, setDescription, setHttpDomain, setModuleId, setOwnerId, setParentId, setPort, setPrimaryKey, setQaContactId, setRealName, setScarabInstanceId, setScheme, setScriptName, setUrl |
| Methods inherited from interface org.apache.torque.om.Persistent |
isModified, isNew, save, save, save, setModified, setNew, setPrimaryKey |
| Field Detail |
protected static final java.lang.String GET_R_MODULE_ATTRIBUTES
protected static final java.lang.String GET_DEDUPE_GROUPS_WITH_ATTRIBUTES
protected static final java.lang.String GET_SAVED_REPORTS
protected static final java.lang.String GET_DEFAULT_RMODULE_USERATTRIBUTES
protected static final java.lang.String GET_ISSUE_TYPES
protected static final java.lang.String GET_NAV_ISSUE_TYPES
protected static final java.lang.String GET_ALL_R_MODULE_OPTIONS
protected static final java.lang.String GET_LEAF_R_MODULE_OPTIONS
protected static final java.lang.String GET_R_MODULE_ISSUE_TYPES
protected static final java.lang.String GET_R_MODULE_ISSUE_TYPE
protected static final java.lang.String GET_TEMPLATE_TYPES
protected static final java.lang.String GET_UNAPPROVED_QUERIES
protected static final java.lang.String GET_UNAPPROVED_TEMPLATES
protected static final java.lang.String GET_AVAILABLE_ISSUE_TYPES
| Constructor Detail |
public AbstractScarabModule()
| Method Detail |
protected void resetAncestors()
public abstract ScarabUser[] getUsers(java.lang.String permission)
throws org.apache.torque.TorqueException
ModuleScarabUser's that have the given
permission in the given module.
getUsers in interface Modulepermission - a String value
org.apache.torque.TorqueExceptionModule.getUsers(String)
public abstract ScarabUser[] getUsers(java.util.List permissions)
throws org.apache.torque.TorqueException
ModuleScarabUser's that have any of the given
permissions in the given module.
getUsers in interface Modulepermissions - a List value
org.apache.torque.TorqueExceptionModule.getUsers(String)public abstract java.lang.String getRealName()
Module
getRealName in interface Modulenull.getName()public abstract java.lang.Integer getModuleId()
getModuleId in interface Modulepublic java.lang.String getName()
getName in interface Modulepublic void setName(java.lang.String name)
setName in interface Module
public Issue getNewIssue(IssueType issueType)
throws org.apache.torque.TorqueException
getNewIssue in interface Moduleorg.apache.torque.TorqueException
public java.util.List getAncestors()
throws org.apache.torque.TorqueException
getAncestors in interface Moduleorg.apache.torque.TorqueException
public boolean isEndlessLoop(Module parent)
throws org.apache.torque.TorqueException
isEndlessLoop in interface Moduleorg.apache.torque.TorqueException
public AttributeGroup createNewGroup(IssueType issueType)
throws org.apache.torque.TorqueException
createNewGroup in interface Moduleorg.apache.torque.TorqueException
public java.util.List getDedupeGroupsWithAttributes(IssueType issueType)
throws org.apache.torque.TorqueException
getDedupeGroupsWithAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getDedupeAttributeGroups(IssueType issueType)
throws org.apache.torque.TorqueException
getDedupeAttributeGroups in interface Moduleorg.apache.torque.TorqueException
public java.util.List getDedupeAttributeGroups(IssueType issueType,
boolean activeOnly)
throws org.apache.torque.TorqueException
getDedupeAttributeGroups in interface Moduleorg.apache.torque.TorqueException
public int getDedupeSequence(IssueType issueType)
throws org.apache.torque.TorqueException
getDedupeSequence in interface Moduleorg.apache.torque.TorqueException
public ScarabUser[] getEligibleIssueReporters()
throws org.apache.torque.TorqueException
getEligibleIssueReporters in interface Moduleorg.apache.torque.TorqueException
public ScarabUser[] getEligibleUsers(Attribute attribute)
throws org.apache.torque.TorqueException,
ScarabException
getEligibleUsers in interface Moduleattribute - an Attribute value
ScarabUser[] value
ScarabException - if the attribute has no associated permission
java.lang.Exception - if an error occurs
org.apache.torque.TorqueException
public abstract void setParent(Module v)
throws org.apache.torque.TorqueException
setParent in interface Moduleorg.apache.torque.TorqueException
public abstract Module getParent()
throws org.apache.torque.TorqueException
getParent in interface Moduleorg.apache.torque.TorqueException
public java.util.List getSavedReports(ScarabUser user)
throws org.apache.torque.TorqueException,
ScarabException
getSavedReports in interface Moduleuser - the user
List value
org.apache.torque.TorqueException
ScarabException
public java.util.List getAttributes(IssueType issueType)
throws org.apache.torque.TorqueException
getAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getAttributes(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
getAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getUserAttributes(IssueType issueType)
throws org.apache.torque.TorqueException
getUserAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getUserAttributes(IssueType issueType,
boolean activeOnly)
throws org.apache.torque.TorqueException
getUserAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getUserPermissions(IssueType issueType)
throws org.apache.torque.TorqueException
getUserPermissions in interface Moduleorg.apache.torque.TorqueException
public int getLastAttribute(IssueType issueType,
java.lang.String attributeType)
throws org.apache.torque.TorqueException
getLastAttribute in interface Moduleorg.apache.torque.TorqueException
public int getLastAttributeOption(Attribute attribute,
IssueType issueType)
throws org.apache.torque.TorqueException
getLastAttributeOption in interface Moduleorg.apache.torque.TorqueException
public void shiftAttributeOption(Attribute attribute,
IssueType issueType,
int offset)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getAvailableAttributes(IssueType issueType,
java.lang.String attributeType)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getAvailableAttributeOptions(Attribute attribute,
IssueType issueType)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getDefaultRModuleUserAttributes(IssueType issueType)
throws org.apache.torque.TorqueException
getDefaultRModuleUserAttributes in interface Moduleorg.apache.torque.TorqueException
public Issue getIssueById(java.lang.String id)
throws org.apache.torque.TorqueException
getIssueById in interface Moduleorg.apache.torque.TorqueException
public java.util.List getIssueTypes()
throws org.apache.torque.TorqueException
getIssueTypes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getIssueTypes(boolean activeOnly)
throws org.apache.torque.TorqueException
getIssueTypes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getNavIssueTypes()
throws org.apache.torque.TorqueException
getNavIssueTypes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getAvailableIssueTypes()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getRModuleAttributes(org.apache.torque.util.Criteria crit)
throws org.apache.torque.TorqueException
getRModuleAttributes in interface Moduleorg.apache.torque.TorqueException
public abstract java.util.List getRModuleOptions(org.apache.torque.util.Criteria crit)
throws org.apache.torque.TorqueException
getRModuleOptions in interface Moduleorg.apache.torque.TorqueException
public RModuleAttribute addRModuleAttribute(IssueType issueType,
Attribute attribute)
throws org.apache.torque.TorqueException,
ScarabException
addRModuleAttribute in interface Moduleorg.apache.torque.TorqueException
ScarabException
public RModuleOption addRModuleOption(IssueType issueType,
AttributeOption option)
throws org.apache.torque.TorqueException
addRModuleOption in interface Moduleorg.apache.torque.TorqueException
public RModuleAttribute getRModuleAttribute(Attribute attribute,
IssueType issueType)
throws org.apache.torque.TorqueException
getRModuleAttribute in interface Moduleorg.apache.torque.TorqueException
public java.util.List getRModuleAttributes(IssueType issueType)
throws org.apache.torque.TorqueException
getRModuleAttributes in interface Moduleorg.apache.torque.TorqueException
public boolean hasAttributes(IssueType issueType)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
public java.util.List getRModuleAttributes(IssueType issueType,
boolean activeOnly)
throws org.apache.torque.TorqueException
getRModuleAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getRModuleAttributes(IssueType issueType,
boolean activeOnly,
java.lang.String attributeType)
throws org.apache.torque.TorqueException
getRModuleAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getAllAttributes()
throws org.apache.torque.TorqueException
getAllAttributes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getAllOptionAttributes()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getAllAttributeOptions(java.lang.Integer attributeId)
throws org.apache.torque.TorqueException,
ScarabException
org.apache.torque.TorqueException
ScarabException
public java.util.List getActiveAttributesByName(IssueType issueType,
java.lang.String attributeType)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getRModuleOptions(Attribute attribute,
IssueType issueType)
throws org.apache.torque.TorqueException
getRModuleOptions in interface Moduleorg.apache.torque.TorqueException
public java.util.List getRModuleOptions(Attribute attribute,
IssueType issueType,
boolean activeOnly)
throws org.apache.torque.TorqueException
getRModuleOptions in interface Moduleorg.apache.torque.TorqueException
public RModuleOption getRModuleOption(AttributeOption option,
IssueType issueType)
throws org.apache.torque.TorqueException
getRModuleOption in interface Moduleorg.apache.torque.TorqueException
public java.util.List getAttributeOptions(Attribute attribute,
IssueType issueType)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getLeafRModuleOptions(Attribute attribute,
IssueType issuetype)
throws org.apache.torque.TorqueException
getLeafRModuleOptions in interface Moduleorg.apache.torque.TorqueException
public java.util.List getLeafRModuleOptions(Attribute attribute,
IssueType issueType,
boolean activeOnly)
throws org.apache.torque.TorqueException
getLeafRModuleOptions in interface Moduleorg.apache.torque.TorqueException
public java.util.List getOptionTree(Attribute attribute,
IssueType issueType)
throws org.apache.torque.TorqueException
getOptionTree in interface Moduleattribute - an Attribute value
List value
org.apache.torque.TorqueException - if an error occurs
public java.util.List getOptionTree(Attribute attribute,
IssueType issueType,
boolean activeOnly)
throws org.apache.torque.TorqueException
getOptionTree in interface Moduleattribute - an Attribute valueactiveOnly - a boolean value
List value
org.apache.torque.TorqueException - if an error occurs
public abstract java.util.List getRModuleIssueTypes()
throws org.apache.torque.TorqueException
getRModuleIssueTypes in interface Moduleorg.apache.torque.TorqueException
public java.util.List getRModuleIssueTypes(java.lang.String sortColumn,
java.lang.String sortPolarity)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void addAttributeOption(IssueType issueType,
AttributeOption option)
throws org.apache.torque.TorqueException,
ScarabException
addAttributeOption in interface Moduleorg.apache.torque.TorqueException
ScarabException
public void setRmaBasedOnIssueType(RIssueTypeAttribute ria)
throws org.apache.torque.TorqueException,
ScarabException
org.apache.torque.TorqueException
ScarabException
public void setRmoBasedOnIssueType(RIssueTypeOption rio)
throws org.apache.torque.TorqueException,
ScarabException
org.apache.torque.TorqueException
ScarabException
protected java.lang.String getValidationMessage(java.lang.String typeName,
java.lang.String detail)
public boolean includesIssueType(IssueType issueType)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
public void addIssueType(IssueType issueType)
throws org.apache.torque.TorqueException,
ValidationException,
com.workingdogs.village.DataSetException,
ScarabException
addIssueType in interface Moduleorg.apache.torque.TorqueException
ValidationException
com.workingdogs.village.DataSetException
ScarabException
public RModuleIssueType getRModuleIssueType(IssueType issueType)
throws org.apache.torque.TorqueException
getRModuleIssueType in interface Moduleorg.apache.torque.TorqueException
public java.util.List getTemplateTypes()
throws org.apache.torque.TorqueException,
ScarabException
getTemplateTypes in interface Moduleorg.apache.torque.TorqueException
ScarabExceptionpublic boolean allowsMultipleVoting()
allowsMultipleVoting in interface Modulepublic int getUnusedVoteCount(ScarabUser user)
getUnusedVoteCount in interface Module
public java.util.List getUnapprovedQueries()
throws org.apache.torque.TorqueException
getUnapprovedQueries in interface Moduleorg.apache.torque.TorqueException
public java.util.List getUnapprovedTemplates()
throws org.apache.torque.TorqueException
getUnapprovedTemplates in interface Moduleorg.apache.torque.TorqueException
protected void setInitialAttributesAndIssueTypes()
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
ScarabException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
ScarabException
protected void inheritFromParent(Module parentModule)
throws org.apache.torque.TorqueException,
ScarabException
org.apache.torque.TorqueException
ScarabExceptionpublic boolean allowsNewIssues()
allowsNewIssues in interface Modulepublic boolean allowsIssues()
allowsIssues in interface Module
public boolean isInitializing()
throws org.apache.torque.TorqueException
isInitializing in interface Moduleorg.apache.torque.TorqueExceptionpublic boolean isGlobalModule()
Module
isGlobalModule in interface Moduleboolean valueModule.isGlobalModule()
public java.lang.String getIssueRegexString()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public org.apache.regexp.REProgram getIssueRegex()
throws org.apache.torque.TorqueException
Module
getIssueRegex in interface Moduleorg.apache.torque.TorqueExceptionModule.getIssueRegex()public abstract java.lang.String getArchiveEmail()
getArchiveEmail in interface Modulepublic java.util.Locale getLocale()
getLocale in interface Modulepublic java.lang.String[] getSystemEmail()
getSystemEmail in interface ModuleString[] of length=2 where the first element
is a name such as "Scarab System" and the second is an email address.public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - The Object to compare to.
public java.lang.String toString()
toString in interface Module
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||