public abstract class DefaultAbstractTurbineUser extends TorqueAbstractTurbineTurbineSecurityEntityDefault
User
at least. Most probably the OM classes allow to implement TurbineUser
, which includes User.Constructor and Description |
---|
DefaultAbstractTurbineUser() |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this entity
|
protected <T extends TurbineUserGroupRoleModelPeerMapper> |
getTurbineUserGroupRolesJoinTurbineRole(org.apache.torque.criteria.Criteria criteria,
Connection con)
Forward reference to module generated code
Get a list of association objects, pre-populated with their TurbineRole
objects.
|
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 TurbineUserGroupRoleModelPeerMapper> |
retrieveAttachedObjects(Connection con,
Boolean lazy,
List<T> ugrs)
Retrieve attached objects for user: user-group-role relationship(s)
This method is required if custom peers is activated for (user) manager, to allow the custom group/role in
ACLFactory.getAccessControlList(org.apache.fulcrum.security.entity.User) |
void |
update(Connection con)
Update this instance to the database with all dependent objects
|
addUserGroupRole, addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, removeUserGroupRole, setUserGroupRoleSet
getEntityId, getEntityName, getId, getName, setEntityId, setEntityName, setId, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
protected <T extends TurbineUserGroupRoleModelPeerMapper> List<T> getTurbineUserGroupRolesJoinTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection con) throws DataBackendException
Persistent.save()
method otherwise might not update the right relationships.criteria
- Criteria to define the selection of recordscon
- a database connectionDataBackendException
- if any database error occurspublic <T extends TurbineUserGroupRoleModelPeerMapper> void retrieveAttachedObjects(Connection con, Boolean lazy, List<T> ugrs) throws DataBackendException
TorqueAbstractTurbineTurbineSecurityEntityDefault
ACLFactory.getAccessControlList(org.apache.fulcrum.security.entity.User)
retrieveAttachedObjects
in class TorqueAbstractTurbineTurbineSecurityEntityDefault
con
- A database connectionlazy
- if true
, fetches objects lazilyugrs
- The custom TurbineUserGroupRole setDataBackendException
- if data connection or user information (table objects) not foundpublic void retrieveAttachedObjects(Connection con, Boolean lazy) throws DataBackendException
TorqueAbstractSecurityEntity
retrieveAttachedObjects
in class TorqueAbstractSecurityEntity
con
- A database connectionlazy
- if true
, may load some or all relationships laterDataBackendException
public void retrieveAttachedObjects(Connection con) throws DataBackendException
TorqueAbstractSecurityEntity
false
.retrieveAttachedObjects
in class TorqueAbstractSecurityEntity
con
- A database connectionDataBackendException
- wrapper exception: user information not found exceptionpublic void update(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntity
update
in class TorqueAbstractSecurityEntity
con
- A database connectionorg.apache.torque.TorqueException
- database not found exceptionpublic void delete() throws org.apache.torque.TorqueException
TorqueAbstractSecurityEntity
delete
in class TorqueAbstractSecurityEntity
org.apache.torque.TorqueException
- if any database error occurs if any database operation failsCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.