Class SharedDocument
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.contentmanagement.Document
-
- org.cyclos.entities.contentmanagement.SharedDocument
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
DynamicDocument,StaticDocument
@Entity public abstract class SharedDocument extends Document implements IInternalNamedEntity
A Document of type Static
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description SharedDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentCategorygetCategory()DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeStringgetInternalName()voidsetCategory(DocumentCategory category)voidsetInternalName(String internalName)-
Methods inherited from class org.cyclos.entities.contentmanagement.Document
getDescription, getDiscriminator, getNature, getNetwork, isEnable, isHasFile, setDescription, setEnable, setNetwork
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName, toShortString, toString
-
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.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getCategory
public DocumentCategory getCategory()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getInternalName
public String getInternalName()
- Specified by:
getInternalNamein interfaceIInternalNamedEntity- Returns:
- the internal name.
-
setCategory
public void setCategory(DocumentCategory category)
-
setInternalName
public void setInternalName(String internalName)
- Specified by:
setInternalNamein interfaceIInternalNamedEntity- Parameters:
internalName- the internal name to be set.
-
-