public abstract class TorqueAbstractDynamicUser extends TorqueAbstractSecurityEntity implements DynamicUser
| Constructor and Description |
|---|
TorqueAbstractDynamicUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(Group group) |
void |
delete()
Delete this entity
|
String |
getDatabaseName()
Get the name of the connection pool associated to this object
|
<T extends User> |
getDelegatees() |
<T extends User> |
getDelegators() |
GroupSet |
getGroups() |
<T extends Group> |
getGroupsAsSet() |
protected List<TorqueDynamicUserDelegates> |
getTorqueDynamicUserDelegatessRelatedByDelegateeUserIdJoinTorqueDynamicUserRelatedByDelegatorUserId(org.apache.torque.criteria.Criteria criteria,
Connection con)
Forward reference to generated code
Get a list of delegator association objects, pre-populated with their
TorqueDynamicUserDelegates objects.
|
protected List<TorqueDynamicUserDelegates> |
getTorqueDynamicUserDelegatessRelatedByDelegatorUserIdJoinTorqueDynamicUserRelatedByDelegateeUserId(org.apache.torque.criteria.Criteria criteria,
Connection con)
Forward reference to generated code
Get a list of delegatee association objects, pre-populated with their
TorqueDynamicUserDelegates objects.
|
protected List<TorqueDynamicUserGroup> |
getTorqueDynamicUserGroupsJoinTorqueDynamicGroup(org.apache.torque.criteria.Criteria criteria,
Connection con)
Forward reference to generated code
Get a list of association objects, pre-populated with their TorqueDynamicGroup
objects.
|
void |
removeGroup(Group group) |
void |
retrieveAttachedObjects(Connection con)
Retrieve attached objects such as users, permissions, ...
|
<T extends User> |
setDelegatees(Set<T> delegatees) |
<T extends User> |
setDelegators(Set<T> delegates) |
void |
setGroups(GroupSet groups) |
<T extends Group> |
setGroupsAsSet(Set<T> groups) |
void |
update(Connection con)
Update this instance to the database with all dependent objects
|
getEntityId, getEntityName, getId, getName, setEntityId, setEntityName, setId, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPassword, setPasswordgetId, getName, setId, setNameprotected List<TorqueDynamicUserGroup> getTorqueDynamicUserGroupsJoinTorqueDynamicGroup(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException
criteria - Criteria to define the selection of recordscon - a database connectionorg.apache.torque.TorqueExceptionprotected List<TorqueDynamicUserDelegates> getTorqueDynamicUserDelegatessRelatedByDelegateeUserIdJoinTorqueDynamicUserRelatedByDelegatorUserId(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException
criteria - Criteria to define the selection of recordscon - a database connectionorg.apache.torque.TorqueExceptionprotected List<TorqueDynamicUserDelegates> getTorqueDynamicUserDelegatessRelatedByDelegatorUserIdJoinTorqueDynamicUserRelatedByDelegateeUserId(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException
criteria - Criteria to define the selection of recordscon - a database connectionorg.apache.torque.TorqueExceptionpublic void addGroup(Group group)
addGroup in interface BasicUserBasicUser.addGroup(org.apache.fulcrum.security.entity.Group)public GroupSet getGroups()
getGroups in interface BasicUserBasicUser.getGroups()public <T extends Group> Set<T> getGroupsAsSet()
getGroupsAsSet in interface BasicUserBasicUser.getGroupsAsSet()public void removeGroup(Group group)
removeGroup in interface BasicUserBasicUser.removeGroup(org.apache.fulcrum.security.entity.Group)public void setGroups(GroupSet groups)
setGroups in interface BasicUserBasicUser.setGroups(org.apache.fulcrum.security.util.GroupSet)public <T extends Group> void setGroupsAsSet(Set<T> groups)
setGroupsAsSet in interface BasicUserBasicUser.setGroupsAsSet(java.util.Set)public <T extends User> Set<T> getDelegatees()
getDelegatees in interface DynamicUserDynamicUser.getDelegatees()public <T extends User> Set<T> getDelegators()
getDelegators in interface DynamicUserDynamicUser.getDelegators()public <T extends User> void setDelegatees(Set<T> delegatees)
setDelegatees in interface DynamicUserDynamicUser.setDelegatees(java.util.Set)public <T extends User> void setDelegators(Set<T> delegates)
setDelegators in interface DynamicUserDynamicUser.setDelegators(java.util.Set)public String getDatabaseName()
TorqueAbstractSecurityEntitygetDatabaseName in class TorqueAbstractSecurityEntityTorqueAbstractSecurityEntity.getDatabaseName()public void retrieveAttachedObjects(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntityretrieveAttachedObjects in class TorqueAbstractSecurityEntitycon - A database connectionorg.apache.torque.TorqueExceptionTorqueAbstractSecurityEntity.retrieveAttachedObjects(java.sql.Connection)public void update(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntityupdate in class TorqueAbstractSecurityEntitycon - A database connectionorg.apache.torque.TorqueExceptionTorqueAbstractSecurityEntity.update(java.sql.Connection)public void delete()
throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntitydelete in class TorqueAbstractSecurityEntityorg.apache.torque.TorqueException - if any database operation failsTorqueAbstractSecurityEntity.delete()Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.