Class Resource
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Resource,org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
-
- org.silverpeas.components.resourcesmanager.model.Resource
-
- All Implemented Interfaces:
Serializable
,org.silverpeas.core.persistence.datasource.model.IdentifiableEntity
@Entity public class Resource extends org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Resource,org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity
performBeforeRemove
-
-
-
-
Method Detail
-
performBeforePersist
protected void performBeforePersist()
- Overrides:
performBeforePersist
in classorg.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Resource,org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
-
performBeforeUpdate
public void performBeforeUpdate()
- Overrides:
performBeforeUpdate
in classorg.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Resource,org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
-
isBookable
public boolean isBookable()
-
setBookable
public void setBookable(boolean bookable)
-
getCreaterId
public String getCreaterId()
-
setCreaterId
public void setCreaterId(String createrId)
-
getCreationDate
public Date getCreationDate()
-
setCreationDate
public void setCreationDate(Date creationDate)
-
getUpdateDate
public Date getUpdateDate()
-
setUpdateDate
public void setUpdateDate(Date updateDate)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getIdAsLong
public Long getIdAsLong()
-
getIdAsString
public String getIdAsString()
-
getCategoryId
public Long getCategoryId()
-
setCategory
public void setCategory(Category category)
-
getCategory
public Category getCategory()
-
getInstanceId
public String getInstanceId()
-
setInstanceId
public void setInstanceId(String instanceId)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getUpdaterId
public String getUpdaterId()
-
setUpdaterId
public void setUpdaterId(String updaterId)
-
getManagers
public List<ResourceValidator> getManagers()
-
setManagers
public void setManagers(List<ResourceValidator> managers)
-
merge
public void merge(Resource resource)
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classorg.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<Resource,org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<Resource,org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
-
isValidated
public boolean isValidated()
-
isRefused
public boolean isRefused()
-
isValidationRequired
public boolean isValidationRequired()
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
-