Package org.cyclos.entities.users
Class Group
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,ProductOwner,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
AdminGroup,UserGroup
@Entity public abstract class Group extends BasicGroup
a user group hosts, and may be related to aGroupSet
-
-
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 Group()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UserStatusgetInitialUserStatus()abstract RolegetRole()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetInitialUserStatus(UserStatus initialUserStatus)-
Methods inherited from class org.cyclos.entities.users.BasicGroup
compareTo, getConfiguration, getDataTranslationType, getFullName, getNature, getNetwork, getNextLevelProductOwner, 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
-
getInitialUserStatus
public UserStatus getInitialUserStatus()
-
getRole
public abstract Role getRole()
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
setInitialUserStatus
public void setInitialUserStatus(UserStatus initialUserStatus)
-
-