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, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPassword, setPassword
getId, getName, setId, setName
protected 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.TorqueException
protected 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.TorqueException
protected 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.TorqueException
public void addGroup(Group group)
addGroup
in interface BasicUser
BasicUser.addGroup(org.apache.fulcrum.security.entity.Group)
public GroupSet getGroups()
getGroups
in interface BasicUser
BasicUser.getGroups()
public <T extends Group> Set<T> getGroupsAsSet()
getGroupsAsSet
in interface BasicUser
BasicUser.getGroupsAsSet()
public void removeGroup(Group group)
removeGroup
in interface BasicUser
BasicUser.removeGroup(org.apache.fulcrum.security.entity.Group)
public void setGroups(GroupSet groups)
setGroups
in interface BasicUser
BasicUser.setGroups(org.apache.fulcrum.security.util.GroupSet)
public <T extends Group> void setGroupsAsSet(Set<T> groups)
setGroupsAsSet
in interface BasicUser
BasicUser.setGroupsAsSet(java.util.Set)
public <T extends User> Set<T> getDelegatees()
getDelegatees
in interface DynamicUser
DynamicUser.getDelegatees()
public <T extends User> Set<T> getDelegators()
getDelegators
in interface DynamicUser
DynamicUser.getDelegators()
public <T extends User> void setDelegatees(Set<T> delegatees)
setDelegatees
in interface DynamicUser
DynamicUser.setDelegatees(java.util.Set)
public <T extends User> void setDelegators(Set<T> delegates)
setDelegators
in interface DynamicUser
DynamicUser.setDelegators(java.util.Set)
public String getDatabaseName()
TorqueAbstractSecurityEntity
getDatabaseName
in class TorqueAbstractSecurityEntity
TorqueAbstractSecurityEntity.getDatabaseName()
public void retrieveAttachedObjects(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntity
retrieveAttachedObjects
in class TorqueAbstractSecurityEntity
con
- A database connectionorg.apache.torque.TorqueException
TorqueAbstractSecurityEntity.retrieveAttachedObjects(java.sql.Connection)
public void update(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntity
update
in class TorqueAbstractSecurityEntity
con
- A database connectionorg.apache.torque.TorqueException
TorqueAbstractSecurityEntity.update(java.sql.Connection)
public void delete() throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntity
delete
in class TorqueAbstractSecurityEntity
org.apache.torque.TorqueException
- if any database operation failsTorqueAbstractSecurityEntity.delete()
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.