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() |
<T extends User> |
getDelegatees() |
<T extends User> |
getDelegators() |
GroupSet |
getGroups() |
<T extends Group> |
getGroupsAsSet() |
protected List<org.apache.fulcrum.security.torque.om.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<org.apache.fulcrum.security.torque.om.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<org.apache.fulcrum.security.torque.om.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)
old contract, lazy is set to
false. |
void |
retrieveAttachedObjects(Connection con,
Boolean lazy)
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<org.apache.fulcrum.security.torque.om.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 - if any database error occursprotected List<org.apache.fulcrum.security.torque.om.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 - if any database error occursprotected List<org.apache.fulcrum.security.torque.om.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 - if any database error occurspublic <T extends Group> Set<T> getGroupsAsSet()
getGroupsAsSet in interface BasicUserpublic void removeGroup(Group group)
removeGroup in interface BasicUserpublic <T extends Group> void setGroupsAsSet(Set<T> groups)
setGroupsAsSet in interface BasicUserpublic <T extends User> Set<T> getDelegatees()
getDelegatees in interface DynamicUserpublic <T extends User> Set<T> getDelegators()
getDelegators in interface DynamicUserpublic <T extends User> void setDelegatees(Set<T> delegatees)
setDelegatees in interface DynamicUserpublic <T extends User> void setDelegators(Set<T> delegates)
setDelegators in interface DynamicUserpublic String getDatabaseName()
public void retrieveAttachedObjects(Connection con) throws DataBackendException
TorqueAbstractSecurityEntityfalse.retrieveAttachedObjects in class TorqueAbstractSecurityEntitycon - A database connectionDataBackendException - wrapper exception: user information not found exceptionpublic void retrieveAttachedObjects(Connection con, Boolean lazy) throws DataBackendException
TorqueAbstractSecurityEntityretrieveAttachedObjects in class TorqueAbstractSecurityEntitycon - A database connectionlazy - if true, may load some or all relationships laterDataBackendExceptionTorqueAbstractSecurityEntity.retrieveAttachedObjects(Connection,
Boolean)public void update(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntityupdate in class TorqueAbstractSecurityEntitycon - A database connectionorg.apache.torque.TorqueException - database not found exceptionTorqueAbstractSecurityEntity.update(java.sql.Connection)public void delete()
throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntitydelete in class TorqueAbstractSecurityEntityorg.apache.torque.TorqueException - if any database error occurs if any database operation failsTorqueAbstractSecurityEntity.delete()Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.