Package es.caib.seycon.ng.comu
Class AbstractRol
- java.lang.Object
-
- es.caib.seycon.ng.comu.AbstractRol
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Rol
public abstract class AbstractRol extends Object implements Serializable
ValueObject AbstractRol- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractRol()AbstractRol(AbstractRol otherBean)AbstractRol(String nom, String descripcio, String baseDeDades, String codiAplicacio)AbstractRol(String nom, String descripcio, String baseDeDades, String category, Boolean defecte, Boolean contrasenya, String codiAplicacio, Long id, String domini, Collection<RolGrant> ownerRoles, Collection<Grup> ownerGroups, Collection<RolGrant> granteeGroups, Collection<RolGrant> ownedRoles, Boolean gestionableWF, Date approvalStart, Date approvalEnd, Map<String,Object> attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetApprovalEnd()Gets value for attribute approvalEndDategetApprovalStart()Gets value for attribute approvalStartMap<String,Object>getAttributes()Gets value for attribute attributesStringgetBaseDeDades()Gets value for attribute baseDeDadesBooleangetBpmEnforced()Gets value for attribute gestionableWFStringgetCategory()Gets value for attribute categoryStringgetCodiAplicacio()Gets value for attribute codiAplicacioBooleangetContrasenya()Gets value for attribute contrasenyaBooleangetDefecte()Gets value for attribute defecteStringgetDescripcio()Gets value for attribute descripcioStringgetDomini()Gets value for attribute dominiBooleangetGestionableWF()Gets value for attribute gestionableWFCollection<RolGrant>getGranteeGroups()Gets value for attribute granteeGroupsLonggetId()Gets value for attribute idStringgetNom()Gets value for attribute nomCollection<RolGrant>getOwnedRoles()Gets value for attribute ownedRolesCollection<Grup>getOwnerGroups()Gets value for attribute ownerGroupsCollection<RolGrant>getOwnerRoles()Gets value for attribute ownerRolesvoidsetApprovalEnd(Date approvalEnd)Sets value for attribute approvalEndvoidsetApprovalStart(Date approvalStart)Sets value for attribute approvalStartvoidsetAttributes(Map<String,Object> attributes)Sets value for attribute attributesvoidsetBaseDeDades(String baseDeDades)Sets value for attribute baseDeDadesvoidsetBpmEnforced(Boolean gestionableWF)Sets value for attribute gestionableWFvoidsetCategory(String category)Sets value for attribute categoryvoidsetCodiAplicacio(String codiAplicacio)Sets value for attribute codiAplicaciovoidsetContrasenya(Boolean contrasenya)Sets value for attribute contrasenyavoidsetDefecte(Boolean defecte)Sets value for attribute defectevoidsetDescripcio(String descripcio)Sets value for attribute descripciovoidsetDomini(String domini)Sets value for attribute dominivoidsetGestionableWF(Boolean gestionableWF)Sets value for attribute gestionableWFvoidsetGranteeGroups(Collection<RolGrant> granteeGroups)Sets value for attribute granteeGroupsvoidsetId(Long id)Sets value for attribute idvoidsetNom(String nom)Sets value for attribute nomvoidsetOwnedRoles(Collection<RolGrant> ownedRoles)Sets value for attribute ownedRolesvoidsetOwnerGroups(Collection<Grup> ownerGroups)Sets value for attribute ownerGroupsvoidsetOwnerRoles(Collection<RolGrant> ownerRoles)Sets value for attribute ownerRolesstatic RoltoRol(Role vo)Creates a Rol value object based on a Role object.static voidtoRol(Role source, AbstractRol target)Updates a Rol value object based on a Role object.static Rol[]toRolArray(Role[] source)Creates a Rol array on a Role array.static AsyncList<Rol>toRolAsyncList(AsyncList<Role> source)Creates a Rol asynclist on a Role collection.static PagedResult<Rol>toRolList(PagedResult<Role> source)Creates a Rol pagedResult on a Role collection.static List<Rol>toRolList(Collection<Role> source)Creates a Rol list on a Role collection.StringtoString()Returns a string representation of the value object.
-
-
-
Constructor Detail
-
AbstractRol
public AbstractRol()
-
AbstractRol
public AbstractRol(String nom, String descripcio, String baseDeDades, String category, Boolean defecte, Boolean contrasenya, String codiAplicacio, Long id, String domini, Collection<RolGrant> ownerRoles, Collection<Grup> ownerGroups, Collection<RolGrant> granteeGroups, Collection<RolGrant> ownedRoles, Boolean gestionableWF, Date approvalStart, Date approvalEnd, Map<String,Object> attributes)
-
AbstractRol
public AbstractRol(String nom, String descripcio, String baseDeDades, String codiAplicacio)
-
AbstractRol
public AbstractRol(AbstractRol otherBean)
-
-
Method Detail
-
getNom
public String getNom()
Gets value for attribute nom
-
setNom
public void setNom(String nom)
Sets value for attribute nom
-
getDescripcio
public String getDescripcio()
Gets value for attribute descripcio
-
setDescripcio
public void setDescripcio(String descripcio)
Sets value for attribute descripcio
-
getBaseDeDades
public String getBaseDeDades()
Gets value for attribute baseDeDades
-
setBaseDeDades
public void setBaseDeDades(String baseDeDades)
Sets value for attribute baseDeDades
-
getCategory
public String getCategory()
Gets value for attribute category
-
setCategory
public void setCategory(String category)
Sets value for attribute category
-
getDefecte
public Boolean getDefecte()
Gets value for attribute defecte
-
setDefecte
public void setDefecte(Boolean defecte)
Sets value for attribute defecte
-
getContrasenya
public Boolean getContrasenya()
Gets value for attribute contrasenya
-
setContrasenya
public void setContrasenya(Boolean contrasenya)
Sets value for attribute contrasenya
-
getCodiAplicacio
public String getCodiAplicacio()
Gets value for attribute codiAplicacio
-
setCodiAplicacio
public void setCodiAplicacio(String codiAplicacio)
Sets value for attribute codiAplicacio
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getDomini
public String getDomini()
Gets value for attribute domini
-
setDomini
public void setDomini(String domini)
Sets value for attribute domini
-
getOwnerRoles
public Collection<RolGrant> getOwnerRoles()
Gets value for attribute ownerRoles
-
setOwnerRoles
public void setOwnerRoles(Collection<RolGrant> ownerRoles)
Sets value for attribute ownerRoles
-
getOwnerGroups
public Collection<Grup> getOwnerGroups()
Gets value for attribute ownerGroups
-
setOwnerGroups
public void setOwnerGroups(Collection<Grup> ownerGroups)
Sets value for attribute ownerGroups
-
getGranteeGroups
public Collection<RolGrant> getGranteeGroups()
Gets value for attribute granteeGroups
-
setGranteeGroups
public void setGranteeGroups(Collection<RolGrant> granteeGroups)
Sets value for attribute granteeGroups
-
getOwnedRoles
public Collection<RolGrant> getOwnedRoles()
Gets value for attribute ownedRoles
-
setOwnedRoles
public void setOwnedRoles(Collection<RolGrant> ownedRoles)
Sets value for attribute ownedRoles
-
getGestionableWF
public Boolean getGestionableWF()
Gets value for attribute gestionableWF
-
setGestionableWF
public void setGestionableWF(Boolean gestionableWF)
Sets value for attribute gestionableWF
-
getBpmEnforced
public Boolean getBpmEnforced()
Gets value for attribute gestionableWF
-
setBpmEnforced
public void setBpmEnforced(Boolean gestionableWF)
Sets value for attribute gestionableWF
-
getApprovalStart
public Date getApprovalStart()
Gets value for attribute approvalStart
-
setApprovalStart
public void setApprovalStart(Date approvalStart)
Sets value for attribute approvalStart
-
getApprovalEnd
public Date getApprovalEnd()
Gets value for attribute approvalEnd
-
setApprovalEnd
public void setApprovalEnd(Date approvalEnd)
Sets value for attribute approvalEnd
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Sets value for attribute attributes
-
toString
public String toString()
Returns a string representation of the value object.
-
toRolList
public static List<Rol> toRolList(Collection<Role> source)
Creates a Rol list on a Role collection.
-
toRolList
public static PagedResult<Rol> toRolList(PagedResult<Role> source)
Creates a Rol pagedResult on a Role collection.
-
toRolAsyncList
public static AsyncList<Rol> toRolAsyncList(AsyncList<Role> source)
Creates a Rol asynclist on a Role collection.
-
toRol
public static void toRol(Role source, AbstractRol target)
Updates a Rol value object based on a Role object.
-
-