Package org.cyclos.entities.users
Class ProductAccessClient
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.ProductAccessClient
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,IEntity
- Direct Known Subclasses:
ProductMyAccessClient,ProductUserAccessClient
@MappedSuperclass public class ProductAccessClient extends BaseEntity
Base class which represents the relationship between a product and an access client type
-
-
Constructor Summary
Constructors Constructor Description ProductAccessClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessClientPrincipalTypegetAccessClientType()NetworkgetNetwork()Returns the network this entity belongs toProductgetProduct()booleanisActivate()booleanisBlock()booleanisManage()booleanisUnassign()booleanisUnblock()booleanisView()voidsetAccessClientType(AccessClientPrincipalType accessClientType)voidsetActivate(boolean activate)voidsetBlock(boolean block)voidsetManage(boolean manage)voidsetProduct(Product product)voidsetUnassign(boolean unassign)voidsetUnblock(boolean unblock)voidsetView(boolean view)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
Method Detail
-
getAccessClientType
public AccessClientPrincipalType getAccessClientType()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getProduct
public Product getProduct()
-
isActivate
public boolean isActivate()
-
isBlock
public boolean isBlock()
-
isManage
public boolean isManage()
-
isUnassign
public boolean isUnassign()
-
isUnblock
public boolean isUnblock()
-
isView
public boolean isView()
-
setAccessClientType
public void setAccessClientType(AccessClientPrincipalType accessClientType)
-
setActivate
public void setActivate(boolean activate)
-
setBlock
public void setBlock(boolean block)
-
setManage
public void setManage(boolean manage)
-
setProduct
public void setProduct(Product product)
-
setUnassign
public void setUnassign(boolean unassign)
-
setUnblock
public void setUnblock(boolean unblock)
-
setView
public void setView(boolean view)
-
-