org.tigris.scarab.om
Class ScarabModuleContainer

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byorg.tigris.scarab.om.AbstractScarabModule
          extended byorg.tigris.scarab.om.BaseScarabModule
              extended byorg.tigris.scarab.om.ScarabModule
                  extended byorg.tigris.scarab.om.ScarabModuleContainer
All Implemented Interfaces:
java.lang.Comparable, org.apache.fulcrum.security.entity.Group, Module, org.apache.torque.om.Persistent, org.apache.fulcrum.intake.Retrievable, org.apache.fulcrum.security.entity.SecurityEntity, java.io.Serializable

public class ScarabModuleContainer
extends ScarabModule

This class represents the Global module (which is a module where it is not possible to create new issues within it).

Version:
$Id: ScarabModuleContainer.java 9977 2005-12-09 00:40:59Z hair $
Author:
Douglas B. Robertson, John McNally
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.scarab.om.ScarabModule
ROOT_ID
 
Fields inherited from class org.tigris.scarab.om.BaseScarabModule
collAttributeGroups, collGlobalParameters, collIssues, collMITListItems, collNotificationDefaultFilters, collNotificationFilters, collPendingGroupUserRoles, collQuerys, collReports, collRModuleAttributes, collRModuleIssueTypes, collRModuleOptions, collRModuleUserAttributes, collUserVotes
 
Fields inherited from class org.tigris.scarab.om.AbstractScarabModule
GET_ALL_R_MODULE_OPTIONS, GET_AVAILABLE_ISSUE_TYPES, GET_DEDUPE_GROUPS_WITH_ATTRIBUTES, GET_DEFAULT_RMODULE_USERATTRIBUTES, GET_ISSUE_TYPES, GET_LEAF_R_MODULE_OPTIONS, GET_NAV_ISSUE_TYPES, GET_R_MODULE_ATTRIBUTES, GET_R_MODULE_ISSUE_TYPE, GET_R_MODULE_ISSUE_TYPES, GET_SAVED_REPORTS, GET_TEMPLATE_TYPES, GET_UNAPPROVED_QUERIES, 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, USER
 
Fields inherited from interface org.apache.fulcrum.security.entity.Group
GLOBAL_GROUP_NAME
 
Constructor Summary
ScarabModuleContainer()
           
 
Method Summary
 boolean allowsIssues()
          Determines whether this module accepts issues.
 boolean allowsNewIssues()
          Determines whether this module is accepting new issues.
 
Methods inherited from class org.tigris.scarab.om.ScarabModule
compareTo, getArchiveEmail, getAutoApprovedRoles, getCommentRenderingEngine, getHttpDomain, getIssueCount, getIssueCount, getParent, getPort, getRequiredRole, getRModuleAttributes, getRModuleIssueTypes, getRModuleOptions, getRoles, getScarabInstanceId, getScheme, getScriptName, getUsers, getUsers, getUsers, getUsers, grant, grant, isIssueReasonRequired, isIssueReasonRequiredInherited, registerNeedsRequiredRole, remove, rename, revoke, revoke, save, save, setHttpDomain, setParent, setParentId, setPort, setScarabInstanceId, setScheme, setScriptName, toString
 
Methods inherited from class org.tigris.scarab.om.BaseScarabModule
addAttributeGroup, addGlobalParameter, addIssue, addMITListItem, addNotificationDefaultFilter, addNotificationFilter, addPendingGroupUserRole, addQuery, addReport, addRModuleAttribute, addRModuleIssueType, addRModuleOption, addRModuleUserAttribute, addUserVote, copy, copyInto, getAttributeGroups, getAttributeGroups, getAttributeGroups, getAttributeGroups, getAttributeGroupsJoinIssueType, getAttributeGroupsJoinScarabModule, getByName, getByPeerName, getByPosition, getClassKey, getCode, getDeleted, getDescription, getDomain, getFieldNames, getGlobalParameters, getGlobalParameters, getGlobalParameters, getGlobalParameters, getGlobalParametersJoinScarabModule, getIssues, getIssues, getIssues, getIssues, getIssuesJoinActivitySetRelatedByCreatedTransId, getIssuesJoinActivitySetRelatedByLastTransId, getIssuesJoinIssueType, getIssuesJoinScarabModule, getLocked, getMITListItems, getMITListItems, getMITListItems, getMITListItems, getMITListItemsJoinIssueType, getMITListItemsJoinMITList, getMITListItemsJoinScarabModule, getModuleId, getModuleRelatedByParentId, getModuleRelatedByParentId, getNotificationDefaultFilters, getNotificationDefaultFilters, getNotificationDefaultFilters, getNotificationDefaultFilters, getNotificationDefaultFiltersJoinScarabModule, getNotificationDefaultFiltersJoinScarabRoleImpl, getNotificationFilters, getNotificationFilters, getNotificationFilters, getNotificationFilters, getNotificationFiltersJoinScarabModule, getNotificationFiltersJoinScarabUserImpl, getOwnerId, getParentId, getPeer, getPendingGroupUserRoles, getPendingGroupUserRoles, getPendingGroupUserRoles, getPendingGroupUserRoles, getPendingGroupUserRolesJoinScarabModule, getPendingGroupUserRolesJoinScarabUserImpl, getPrimaryKey, getQaContactId, getQueryKey, getQuerys, getQuerys, getQuerys, getQuerys, getQuerysJoinFrequency, getQuerysJoinIssueType, getQuerysJoinMITList, getQuerysJoinScarabModule, getQuerysJoinScarabUserImpl, getQuerysJoinScope, getRealName, getReports, getReports, getReports, getReports, getReportsJoinIssueType, getReportsJoinScarabModule, getReportsJoinScarabUserImpl, getReportsJoinScope, getRModuleAttributes, getRModuleAttributes, getRModuleAttributes, getRModuleAttributesJoinAttribute, getRModuleAttributesJoinIssueType, getRModuleAttributesJoinScarabModule, getRModuleIssueTypes, getRModuleIssueTypes, getRModuleIssueTypes, getRModuleIssueTypesJoinIssueType, getRModuleIssueTypesJoinScarabModule, getRModuleOptions, getRModuleOptions, getRModuleOptions, getRModuleOptionsJoinAttributeOption, getRModuleOptionsJoinIssueType, getRModuleOptionsJoinScarabModule, getRModuleUserAttributes, getRModuleUserAttributes, getRModuleUserAttributes, getRModuleUserAttributes, getRModuleUserAttributesJoinAttribute, getRModuleUserAttributesJoinIssueType, getRModuleUserAttributesJoinMITList, getRModuleUserAttributesJoinScarabModule, getRModuleUserAttributesJoinScarabUserImpl, getScarabUserRelatedByOwnerId, getScarabUserRelatedByOwnerId, getScarabUserRelatedByQaContactId, getScarabUserRelatedByQaContactId, getUrl, getUserVotes, getUserVotes, getUserVotes, getUserVotes, getUserVotesJoinScarabModule, getUserVotesJoinScarabUserImpl, initAttributeGroups, initGlobalParameters, initIssues, initMITListItems, initNotificationDefaultFilters, initNotificationFilters, initPendingGroupUserRoles, initQuerys, initReports, initRModuleAttributes, initRModuleIssueTypes, initRModuleOptions, initRModuleUserAttributes, initUserVotes, isCacheOnSave, save, setArchiveEmail, setClassKey, setCode, setDeleted, setDescription, setDomain, setLocked, setModuleId, setModuleRelatedByParentId, setModuleRelatedByParentIdKey, setOwnerId, setPrimaryKey, setPrimaryKey, setQaContactId, setQueryKey, setRealName, setScarabUserRelatedByOwnerId, setScarabUserRelatedByOwnerIdKey, setScarabUserRelatedByQaContactId, setScarabUserRelatedByQaContactIdKey, setUrl
 
Methods inherited from class org.tigris.scarab.om.AbstractScarabModule
addAttributeOption, addIssueType, addRModuleAttribute, addRModuleOption, allowsMultipleVoting, createNewGroup, getActiveAttributesByName, getAllAttributeOptions, getAllAttributes, getAllOptionAttributes, getAncestors, getAttributeOptions, getAttributes, getAttributes, getAvailableAttributeOptions, getAvailableAttributes, getAvailableIssueTypes, getDedupeAttributeGroups, getDedupeAttributeGroups, getDedupeGroupsWithAttributes, getDedupeSequence, getDefaultRModuleUserAttributes, getEligibleIssueReporters, getEligibleUsers, getIssueById, getIssueRegex, getIssueRegexString, getIssueTypes, getIssueTypes, getLastAttribute, getLastAttributeOption, getLeafRModuleOptions, getLeafRModuleOptions, getLocale, getName, getNavIssueTypes, getNewIssue, getOptionTree, getOptionTree, getRModuleAttribute, getRModuleAttributes, getRModuleAttributes, getRModuleAttributes, getRModuleIssueType, getRModuleIssueTypes, getRModuleOption, getRModuleOptions, getRModuleOptions, getSavedReports, getSystemEmail, getTemplateTypes, getUnapprovedQueries, getUnapprovedTemplates, getUnusedVoteCount, getUserAttributes, getUserAttributes, getUserPermissions, getValidationMessage, hasAttributes, includesIssueType, inheritFromParent, isEndlessLoop, isGlobalModule, isInitializing, resetAncestors, setInitialAttributesAndIssueTypes, setName, setRmaBasedOnIssueType, setRmoBasedOnIssueType, shiftAttributeOption
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.torque.om.Persistent
getPrimaryKey, isModified, isNew, save, setModified, setNew, setPrimaryKey, setPrimaryKey
 
Methods inherited from interface org.tigris.scarab.om.Module
addAttributeOption, addIssueType, addRModuleAttribute, addRModuleOption, allowsMultipleVoting, createNewGroup, getAllAttributes, getAncestors, getAttributes, getAttributes, getCode, getDedupeAttributeGroups, getDedupeAttributeGroups, getDedupeGroupsWithAttributes, getDedupeSequence, getDefaultRModuleUserAttributes, getDeleted, getDescription, getEligibleIssueReporters, getEligibleUsers, getIssueById, getIssueRegex, getIssueTypes, getIssueTypes, getLastAttribute, getLastAttributeOption, getLeafRModuleOptions, getLeafRModuleOptions, getLocale, getModuleId, getName, getNavIssueTypes, getNewIssue, getOptionTree, getOptionTree, getOwnerId, getParentId, getPrimaryKey, getQaContactId, getQueryKey, getRealName, getRModuleAttribute, getRModuleAttributes, getRModuleAttributes, getRModuleAttributes, getRModuleIssueType, getRModuleOption, getRModuleOptions, getRModuleOptions, getSavedReports, getSystemEmail, getTemplateTypes, getUnapprovedQueries, getUnapprovedTemplates, getUnusedVoteCount, getUrl, getUserAttributes, getUserAttributes, getUserPermissions, isEndlessLoop, isGlobalModule, isInitializing, setCode, setDeleted, setDescription, setModuleId, setName, setOwnerId, setPrimaryKey, setQaContactId, setRealName, setUrl
 
Methods inherited from interface org.apache.fulcrum.security.entity.Group
getName, setName
 

Constructor Detail

ScarabModuleContainer

public ScarabModuleContainer()
Method Detail

allowsNewIssues

public boolean allowsNewIssues()
Determines whether this module is accepting new issues. Containers never accept new issues, so this will return false;

Specified by:
allowsNewIssues in interface Module
Overrides:
allowsNewIssues in class AbstractScarabModule

allowsIssues

public boolean allowsIssues()
Determines whether this module accepts issues. This default implementation does NOT allow issues.

Specified by:
allowsIssues in interface Module
Overrides:
allowsIssues in class ScarabModule


Copyright © 2000-2004 Tigris.org. All Rights Reserved.