Package org.cyclos.entities.users
Class AdminGroup
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,ProductOwner,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class AdminGroup extends Group
A specialized group for administrators
-
-
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 AdminGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminProductgetAdminProduct()AdminGroupTypegetAdminType()Administrators other thanAdminGroupType.NETWORKorAdminGroupType.GLOBAL, e.g.: global restricted or local admins will have this property in null.Set<Network>getManagedNetworks()IntegergetMaxManagedNetworks()BasicGroupNaturegetNature()Set<Configuration>getPossibleParentConfigurations()SortedSet<Long>getProductIds()Returns the redundant product ids directly assigned to this ownerSet<Product>getProducts()Returns all products directly assigned to this ownerRolegetRole()booleanisCanRegisterNetworks()booleanisCopySystemAdminProfileFields()booleanisLimitMaxManagedNetworks()booleanisManageScripts()voidsetAdminProduct(AdminProduct adminProduct)voidsetAdminType(AdminGroupType adminType)voidsetCanRegisterNetworks(boolean canRegisterNetworks)voidsetCopySystemAdminProfileFields(boolean copySystemAdminProfileFields)voidsetManagedNetworks(Set<Network> managedNetworks)voidsetManageScripts(Boolean manageScripts)voidsetMaxManagedNetworks(Integer maxRegisteredNetworks)voidsetPossibleParentConfigurations(Set<Configuration> possibleParentConfigurations)voidupdateProductIds(SortedSet<Long> productIds)Sets the redundant comma-separated list of product ids directly assigned to this owner-
Methods inherited from class org.cyclos.entities.users.Group
getInitialUserStatus, isEnabled, setEnabled, setInitialUserStatus
-
Methods inherited from class org.cyclos.entities.users.BasicGroup
compareTo, getConfiguration, getDataTranslationType, getFullName, getNetwork, getNextLevelProductOwner, getPhysicalProducts, setConfiguration, setNetwork, setProducts
-
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
-
getAdminProduct
public AdminProduct getAdminProduct()
-
getAdminType
public AdminGroupType getAdminType()
Administrators other thanAdminGroupType.NETWORKorAdminGroupType.GLOBAL, e.g.: global restricted or local admins will have this property in null.
-
getMaxManagedNetworks
public Integer getMaxManagedNetworks()
-
getNature
public BasicGroupNature getNature()
- Specified by:
getNaturein classBasicGroup
-
getPossibleParentConfigurations
public Set<Configuration> getPossibleParentConfigurations()
-
getProductIds
public SortedSet<Long> getProductIds()
Description copied from interface:ProductOwnerReturns the redundant product ids directly assigned to this owner- Specified by:
getProductIdsin interfaceProductOwner- Overrides:
getProductIdsin classBasicGroup
-
getProducts
public Set<Product> getProducts()
Description copied from interface:ProductOwnerReturns all products directly assigned to this owner- Specified by:
getProductsin interfaceProductOwner- Overrides:
getProductsin classBasicGroup
-
isCanRegisterNetworks
public boolean isCanRegisterNetworks()
-
isCopySystemAdminProfileFields
public boolean isCopySystemAdminProfileFields()
-
isLimitMaxManagedNetworks
public boolean isLimitMaxManagedNetworks()
-
isManageScripts
public boolean isManageScripts()
-
setAdminProduct
public void setAdminProduct(AdminProduct adminProduct)
-
setAdminType
public void setAdminType(AdminGroupType adminType)
-
setCanRegisterNetworks
public void setCanRegisterNetworks(boolean canRegisterNetworks)
-
setCopySystemAdminProfileFields
public void setCopySystemAdminProfileFields(boolean copySystemAdminProfileFields)
-
setManageScripts
public void setManageScripts(Boolean manageScripts)
-
setMaxManagedNetworks
public void setMaxManagedNetworks(Integer maxRegisteredNetworks)
-
setPossibleParentConfigurations
public void setPossibleParentConfigurations(Set<Configuration> possibleParentConfigurations)
-
updateProductIds
public void updateProductIds(SortedSet<Long> productIds)
Description copied from interface:ProductOwnerSets the redundant comma-separated list of product ids directly assigned to this owner- Specified by:
updateProductIdsin interfaceProductOwner- Overrides:
updateProductIdsin classBasicGroup
-
-