Package org.cyclos.entities.users
Class UserGroup
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,ProductOwner,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
BrokerGroup,MemberGroup
@Entity public abstract class UserGroup extends Group
A specialized group for users (members or brokers)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
-
Fields inherited from class org.cyclos.entities.users.BasicGroup
adminType, enabled, products
-
-
Constructor Summary
Constructors Constructor Description UserGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFullName()GroupSetgetGroupSet()StringgetInitialGroupDescription()StringgetInitialGroupDisplayName()TimeIntervalgetMoveUsersAfterPeriod()UserGroupgetMoveUsersToGroup()ProductOwnergetNextLevelProductOwner()Returns a possibly null next-level ownerbooleanisInheritsConfiguration()booleanisMoveUsersAutomatically()voidsetGroupSet(GroupSet groupSet)voidsetInheritsConfiguration(boolean inheritsConfiguration)voidsetInitialGroupDescription(String initialGroupDescription)voidsetInitialGroupDisplayName(String initialGroupDisplayName)voidsetMoveUsersAfterPeriod(TimeInterval moveUsersAfterPeriod)voidsetMoveUsersAutomatically(boolean moveUsersAutomatically)voidsetMoveUsersToGroup(UserGroup moveUsersToGroup)-
Methods inherited from class org.cyclos.entities.users.Group
getInitialUserStatus, getRole, isEnabled, setEnabled, setInitialUserStatus
-
Methods inherited from class org.cyclos.entities.users.BasicGroup
compareTo, getConfiguration, getDataTranslationType, getNature, getNetwork, getPhysicalProducts, getProductIds, getProducts, setConfiguration, setNetwork, setProducts, updateProductIds
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.HasNetwork
isGlobal
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.entities.users.ProductOwner
addProduct, getAllProductIds, removeProduct
-
-
-
-
Method Detail
-
getFullName
public String getFullName()
- Overrides:
getFullNamein classBasicGroup
-
getGroupSet
public GroupSet getGroupSet()
-
getInitialGroupDescription
public String getInitialGroupDescription()
-
getInitialGroupDisplayName
public String getInitialGroupDisplayName()
-
getMoveUsersAfterPeriod
public TimeInterval getMoveUsersAfterPeriod()
-
getMoveUsersToGroup
public UserGroup getMoveUsersToGroup()
-
getNextLevelProductOwner
public ProductOwner getNextLevelProductOwner()
Description copied from interface:ProductOwnerReturns a possibly null next-level owner- Specified by:
getNextLevelProductOwnerin interfaceProductOwner- Overrides:
getNextLevelProductOwnerin classBasicGroup
-
isInheritsConfiguration
public boolean isInheritsConfiguration()
-
isMoveUsersAutomatically
public boolean isMoveUsersAutomatically()
-
setGroupSet
public void setGroupSet(GroupSet groupSet)
-
setInheritsConfiguration
public void setInheritsConfiguration(boolean inheritsConfiguration)
-
setInitialGroupDescription
public void setInitialGroupDescription(String initialGroupDescription)
-
setInitialGroupDisplayName
public void setInitialGroupDisplayName(String initialGroupDisplayName)
-
setMoveUsersAfterPeriod
public void setMoveUsersAfterPeriod(TimeInterval moveUsersAfterPeriod)
-
setMoveUsersAutomatically
public void setMoveUsersAutomatically(boolean moveUsersAutomatically)
-
setMoveUsersToGroup
public void setMoveUsersToGroup(UserGroup moveUsersToGroup)
-
-