|
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 a Document Field. Document Fields are application- specific fields stored by the Content Manager per Document. After fields are created, they can be used when creating new Document Types. When creating Documents of those Types, the user must specify values for all the Fields referenced by the Type (null values are allowed).
EbiDocType
Field Summary | |
static String |
EL_DOC_FIELD
The element type of "Document Field" |
static String |
FT_BIGDECIMAL
The BigDecimal value type for Document Extension Metadata Fields |
static String |
FT_BOOLEAN
The Boolean value type for Document Extension Metadata Fields |
static String |
FT_BYTE
The Byte alue type for Document Extension Metadata Fields |
static String |
FT_BYTEARRAY
The ByteArray value type for Document Extension Metadata Fields |
static String |
FT_CHAR
The Character value type for Document Extension Metadata Fields |
static String |
FT_DATE
The Date value type for Document Extension Metadata Fields |
static String |
FT_DOUBLE
The Double value type for Document Extension Metadata Fields |
static String |
FT_FLOAT
The Float value type for Document Extension Metadata Fields |
static String |
FT_INT
The Integer value type for Document Extension Metadata Fields |
static String |
FT_LONG
The Long value type for Document Extension Metadata Fields |
static String |
FT_LONGVARCHAR
The LongVarChar value type for Document Extension Metadata Fields. |
static String |
FT_SHORT
The Short value type for Document Extension Metadata Fields |
static String |
FT_STRING
The String value type for Document Extension Metadata Fields |
static String |
FT_TIME
The Time value type for Document Extension Metadata Fields |
static String |
FT_TIMESTAMP
The Timestamp value type for Document Extension Metadata Fields |
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 | |
byte[] |
getExtensionMeta()
Gets the extension metadata associated with the field. |
String |
getFieldID()
Gets the ID of the Field. |
String |
getFieldName()
Gets the name of the document field |
String |
getFieldValueType()
Gets the value type of the Field |
String |
getOriginalName()
Gets the original name of this field. |
void |
setExtensionMeta(byte[] extnMeta)
Sets the new value for the extension metadata. |
void |
setFieldID()
Sets/generates a UUID for the field. |
void |
setFieldID(String uuid)
Sets the field UUID. |
void |
setFieldName(String name)
Sets the field's name to a new value. |
void |
setFieldValueType(String valueType)
Sets the value type of the field. |
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_FIELD
EbiElement.getType()
public static final String READ
public static final String WRITE
public static final String PROTECT
public static final String FT_BOOLEAN
public static final String FT_CHAR
public static final String FT_BYTE
public static final String FT_SHORT
public static final String FT_INT
public static final String FT_LONG
public static final String FT_FLOAT
public static final String FT_DOUBLE
public static final String FT_BYTEARRAY
public static final String FT_STRING
public static final String FT_DATE
public static final String FT_TIME
public static final String FT_TIMESTAMP
public static final String FT_BIGDECIMAL
public static final String FT_LONGVARCHAR
Method Detail |
public String getFieldID()
public String getFieldName()
public String getFieldValueType()
public byte[] getExtensionMeta()
public String getOriginalName()
setFieldName
method, but for some
reason the original name is needed. Note that as soon as the changes to
the field are committed to the Repository via the update
method, the original name is reset to be the same as the new name.public void setFieldName(String name)
EbiContentManager.updateDocumentField
must be
called for this change to take effect. Note that
the name must be unique within the system.name
- the new namepublic void setExtensionMeta(byte[] extnMeta)
EbiContentManager.updateDocumentField
must be
called for this change to take effect.extnMeta
- the new value for the extension metadatapublic void setFieldID()
public void setFieldID(String uuid)
uuid
- the UUIDpublic void setFieldValueType(String valueType)
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |