org.tigris.scarab.om
Class BaseScarabRoleImpl

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byorg.apache.fulcrum.security.impl.db.entity.BaseTurbineRole
          extended byorg.apache.fulcrum.security.impl.db.entity.TurbineRole
              extended byorg.tigris.scarab.om.BaseScarabRoleImpl
All Implemented Interfaces:
java.lang.Comparable, org.apache.torque.om.Persistent, org.apache.fulcrum.intake.Retrievable, org.apache.fulcrum.security.entity.Role, org.apache.fulcrum.security.entity.SecurityEntity, java.io.Serializable
Direct Known Subclasses:
ScarabRoleImpl

public abstract class BaseScarabRoleImpl
extends org.apache.fulcrum.security.impl.db.entity.TurbineRole
implements org.apache.fulcrum.intake.Retrievable

You should not use this class directly. It should not even be extended all references should be to ScarabRoleImpl

See Also:
Serialized Form

Field Summary
protected  java.util.List collNotificationDefaultFilters
          Collection to store aggregation of collNotificationDefaultFilters
 
Fields inherited from class org.apache.fulcrum.security.impl.db.entity.BaseTurbineRole
collTurbineRolePermissions, collTurbineUserGroupRoles
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
BaseScarabRoleImpl()
           
 
Method Summary
 void addNotificationDefaultFilter(NotificationDefaultFilter l)
          Method called to associate a NotificationDefaultFilter object to this object through the NotificationDefaultFilter foreign key attribute
 java.util.List getNotificationDefaultFilters()
          If this collection has already been initialized, returns the collection.
 java.util.List getNotificationDefaultFilters(java.sql.Connection con)
          If this collection has already been initialized, returns the collection.
 java.util.List getNotificationDefaultFilters(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.List getNotificationDefaultFilters(org.apache.torque.util.Criteria criteria, java.sql.Connection con)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.List getNotificationDefaultFiltersJoinScarabModule(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.List getNotificationDefaultFiltersJoinScarabRoleImpl(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.lang.String getQueryKey()
          get an id that differentiates this object from others of its class.
protected  void initNotificationDefaultFilters()
          Temporary storage of collNotificationDefaultFilters to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
 void setQueryKey(java.lang.String key)
          set an id that differentiates this object from others of its class.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.fulcrum.security.impl.db.entity.TurbineRole
compareTo, create, getPermissions, grant, grant, remove, rename, revoke, revoke, save, setPermissions
 
Methods inherited from class org.apache.fulcrum.security.impl.db.entity.BaseTurbineRole
addTurbineRolePermission, addTurbineUserGroupRole, copy, copyInto, getByName, getByPeerName, getByPosition, getFieldNames, getName, getPeer, getPrimaryKey, getRoleId, getTurbineRolePermissions, getTurbineRolePermissions, getTurbineRolePermissions, getTurbineRolePermissions, getTurbineRolePermissionsJoinTurbinePermission, getTurbineRolePermissionsJoinTurbineRole, getTurbineUserGroupRoles, getTurbineUserGroupRoles, getTurbineUserGroupRoles, getTurbineUserGroupRoles, getTurbineUserGroupRolesJoinTurbineGroup, getTurbineUserGroupRolesJoinTurbineRole, getTurbineUserGroupRolesJoinTurbineUser, initTurbineRolePermissions, initTurbineUserGroupRoles, save, save, setName, setPrimaryKey, setPrimaryKey, setRoleId
 
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.fulcrum.security.entity.SecurityEntity
getName, setName
 

Field Detail

collNotificationDefaultFilters

protected java.util.List collNotificationDefaultFilters
Collection to store aggregation of collNotificationDefaultFilters

Constructor Detail

BaseScarabRoleImpl

public BaseScarabRoleImpl()
Method Detail

initNotificationDefaultFilters

protected void initNotificationDefaultFilters()
Temporary storage of collNotificationDefaultFilters to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.


addNotificationDefaultFilter

public void addNotificationDefaultFilter(NotificationDefaultFilter l)
                                  throws org.apache.torque.TorqueException
Method called to associate a NotificationDefaultFilter object to this object through the NotificationDefaultFilter foreign key attribute

Parameters:
l - NotificationDefaultFilter
Throws:
org.apache.torque.TorqueException

getNotificationDefaultFilters

public java.util.List getNotificationDefaultFilters()
                                             throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getNotificationDefaultFilters(new Criteria())

Returns:
the collection of associated objects
Throws:
org.apache.torque.TorqueException

getNotificationDefaultFilters

public java.util.List getNotificationDefaultFilters(org.apache.torque.util.Criteria criteria)
                                             throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this ScarabRoleImpl has previously been saved, it will retrieve related NotificationDefaultFilters from storage. If this ScarabRoleImpl is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getNotificationDefaultFilters

public java.util.List getNotificationDefaultFilters(java.sql.Connection con)
                                             throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getNotificationDefaultFilters(new Criteria(),Connection) This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getNotificationDefaultFilters

public java.util.List getNotificationDefaultFilters(org.apache.torque.util.Criteria criteria,
                                                    java.sql.Connection con)
                                             throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this ScarabRoleImpl has previously been saved, it will retrieve related NotificationDefaultFilters from storage. If this ScarabRoleImpl is new, it will return an empty collection or the current collection, the criteria is ignored on a new object. This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getNotificationDefaultFiltersJoinScarabRoleImpl

protected java.util.List getNotificationDefaultFiltersJoinScarabRoleImpl(org.apache.torque.util.Criteria criteria)
                                                                  throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this ScarabRoleImpl is new, it will return an empty collection; or if this ScarabRoleImpl has previously been saved, it will retrieve related NotificationDefaultFilters from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in ScarabRoleImpl.

Throws:
org.apache.torque.TorqueException

getNotificationDefaultFiltersJoinScarabModule

protected java.util.List getNotificationDefaultFiltersJoinScarabModule(org.apache.torque.util.Criteria criteria)
                                                                throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this ScarabRoleImpl is new, it will return an empty collection; or if this ScarabRoleImpl has previously been saved, it will retrieve related NotificationDefaultFilters from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in ScarabRoleImpl.

Throws:
org.apache.torque.TorqueException

getQueryKey

public java.lang.String getQueryKey()
get an id that differentiates this object from others of its class.

Specified by:
getQueryKey in interface org.apache.fulcrum.intake.Retrievable

setQueryKey

public void setQueryKey(java.lang.String key)
                 throws org.apache.torque.TorqueException
set an id that differentiates this object from others of its class.

Specified by:
setQueryKey in interface org.apache.fulcrum.intake.Retrievable
Throws:
org.apache.torque.TorqueException

toString

public java.lang.String toString()


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