|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the notion of a Document Type. A Document Type is a template for creating a Document and is comprised of a collection of Extension Metadata Fields. For instance, the Document Type of "Movie Review" could contain such custom Metadata Fields as "Genre", "Director", "Year of Release", and "Rating".
EbiDocField
Field Summary | |
static String |
EL_DOC_TYPE
The element type of "Document Type". |
static String |
LIST
The 'list' permission type. |
static String |
PROTECT
The 'protect' permission type. |
static String |
READ
The 'read' permission type. |
static String |
WRITE
The 'write' permission type. |
Fields inherited from interface com.sssw.cm.api.EbiCmElement |
OP_COPY,
OP_MOVE,
OP_REMOVE,
OP_UPDATE |
Method Summary | |
String |
getDescription()
Gets the description of the Document Type. |
String |
getDocTypeID()
Gets the ID of the type. |
String |
getDocTypeName()
Gets the name of the Document Type. |
byte[] |
getExtensionMeta()
Gets the Extension Metadata associated with the type. |
String |
getOriginalName()
Gets the original name of this doctype. |
void |
setDescription(String description)
Sets the description of the Document Type. |
void |
setDocTypeID()
Sets the UUID of the Document Type. |
void |
setDocTypeID(String uuid)
Sets the UUID of the Document Type. |
void |
setDocTypeName(String docTypeName)
Sets the name of the Document Type to the new value. |
void |
setExtensionMeta(byte[] extnMeta)
Sets the new value for the Extension Metadata. |
Methods implemented from interface com.sssw.fw.api.EbiSecurableElement |
getAcl,
getObjectID,
isUserAuthorized,
removeAcl,
setAcl |
Methods implemented from interface com.sssw.cm.api.EbiCmElement |
fromXML,
toXML,
validateOperation |
Methods implemented from interface com.sssw.fw.api.EbiFrameworkElement |
getElementUUID,
getLastModified,
getLastModifiedBy,
isEqualTo,
isReadOnly,
resetReadOnly,
setLastModified,
setLastModifiedBy,
setReadOnly |
Field Detail |
public static final String EL_DOC_TYPE
public static final String READ
public static final String WRITE
public static final String PROTECT
public static final String LIST
Method Detail |
public String getDocTypeID()
public String getDocTypeName()
public String getDescription()
public byte[] getExtensionMeta()
public String getOriginalName()
setDocTypeName
method, but for some
reason the original name is needed. Note that as soon as the changes to
the type are committed to the Repository via the update
method, the original name is reset to be the same as the new name.public void setDocTypeID()
public void setDocTypeID(String uuid)
uuid
- the UUIDpublic void setDocTypeName(String docTypeName)
EbiContentManager.updateDocumentType
to
save the changes. Note that the name must be unique
within the system.docTypeName
- the new namepublic void setDescription(String description)
EbiContentManager.updateDocumentType
to
save the changes.description
- the new descriptionpublic void setExtensionMeta(byte[] extnMeta)
EbiContentManager.updateDocumentType
must be
called for this change to take effect.extnMeta
- the new value for the Extension Metadata
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |