|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase org.kuali.rice.krad.datadictionary.DocumentEntry
public abstract class DocumentEntry
A single Document entry in the DataDictionary, which contains information relating to the display, validation, and general maintenance of a Document (transactional or maintenance) and its attributes
The setters do validation to facilitate generating errors during the parsing process.
Field Summary | |
---|---|
protected boolean |
allowsCopy
|
protected boolean |
allowsNoteAttachments
|
protected boolean |
allowsNoteFYI
|
protected Class<? extends KeyValuesFinder> |
attachmentTypesValuesFinderClass
|
protected Class<? extends Document> |
baseDocumentClass
|
protected Class<? extends BusinessRule> |
businessRulesClass
|
protected Map<String,ReferenceDefinition> |
defaultExistenceCheckMap
|
protected List<ReferenceDefinition> |
defaultExistenceChecks
|
protected boolean |
displayTopicFieldInNotes
|
protected Class<? extends DocumentAuthorizer> |
documentAuthorizerClass
|
protected Class<? extends Document> |
documentClass
|
protected Class<? extends DocumentPresentationController> |
documentPresentationControllerClass
|
protected String |
documentTypeName
|
protected boolean |
encryptDocumentDataInPersistentSessionStorage
|
protected boolean |
usePessimisticLocking
|
protected boolean |
useWorkflowPessimisticLocking
|
protected WorkflowAttributes |
workflowAttributes
|
protected WorkflowProperties |
workflowProperties
|
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase |
---|
attributeMap, attributes, collectionMap, collections, complexAttributeMap, complexAttributes, relationshipMap, relationships, stateMapping |
Constructor Summary | |
---|---|
DocumentEntry()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
void |
completeValidation()
Directly validate simple fields |
void |
completeValidation(ValidationTrace tracer)
Directly validate simple fields, call completeValidation on Definition fields. |
boolean |
getAllowsCopy()
|
boolean |
getAllowsNoteAttachments()
Indicates that a document screen allows notes with attachments |
boolean |
getAllowsNoteFYI()
Indicates whether to render the AdHoc FYI recipient box and Send FYI button |
Class<? extends KeyValuesFinder> |
getAttachmentTypesValuesFinderClass()
|
Class<? extends Document> |
getBaseDocumentClass()
The optional Document superclass associated with the document |
Class<? extends BusinessRule> |
getBusinessRulesClass()
The BusinessRule that will be used to execute business rules for the document |
List<String> |
getDefaultExistenceCheckFieldNames()
The List of all defaultExistenceCheck reference fieldNames associated with this MaintenanceDocument |
List<ReferenceDefinition> |
getDefaultExistenceChecks()
The defaultExistenceChecks element contains a list of reference object names which are required to exist when maintaining a BO |
boolean |
getDisplayTopicFieldInNotes()
Indicates whether the "Notes and Attachments" tab will render a column for a note topic |
Class<? extends DocumentAuthorizer> |
getDocumentAuthorizerClass()
Full class name for the DocumentAuthorizer that will authorize actions for this document |
Class<? extends Document> |
getDocumentClass()
The Document subclass associated with the document |
Class<? extends DocumentPresentationController> |
getDocumentPresentationControllerClass()
Full class name for the DocumentPresentationController that will be invoked to implement presentation
logic for the document |
String |
getDocumentTypeName()
The name of the document in the workflow system |
Class |
getEntryClass()
|
String |
getFullClassName()
Returns the full class name of the underlying object. |
String |
getJstlKey()
|
boolean |
getUsePessimisticLocking()
Accessor method for contained usePessimisticLocking |
boolean |
getUseWorkflowPessimisticLocking()
Accessor method for contained useWorkflowPessimisticLocking |
WorkflowAttributes |
getWorkflowAttributes()
|
WorkflowProperties |
getWorkflowProperties()
|
boolean |
isEncryptDocumentDataInPersistentSessionStorage()
Indicates that the document data should be encrypted when persisted |
void |
setAllowsCopy(boolean allowsCopy)
The allowsCopy element contains a true or false value. |
void |
setAllowsNoteAttachments(boolean allowsNoteAttachments)
Setter for flag indicating that attacments can be added to notes |
void |
setAllowsNoteFYI(boolean allowsNoteFYI)
Setter for the flag indicating whether to render the AdHoc FYI recipient box and Send FYI button |
void |
setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass)
The attachmentTypesValuesFinderClass specifies the name of a values finder class. |
void |
setBaseDocumentClass(Class<? extends Document> baseDocumentClass)
The optional baseDocumentClass element is the name of the java base class associated with the document. |
void |
setBusinessRulesClass(Class<? extends BusinessRule> businessRulesClass)
Setter for the BusinessRule to execute rules for the document |
void |
setDefaultExistenceChecks(List<ReferenceDefinition> defaultExistenceChecks)
Setter for the list of all defaultExistenceCheck ReferenceDefinition associated with this
MaintenanceDocument |
void |
setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
Setter for the flag indicating whether the note topic field will be rendered in the notes tab |
void |
setDocumentAuthorizerClass(Class<? extends DocumentAuthorizer> documentAuthorizerClass)
Setter for the document authorizer class name |
void |
setDocumentClass(Class<? extends Document> documentClass)
Setter for document class associated with the document |
void |
setDocumentPresentationControllerClass(Class<? extends DocumentPresentationController> documentPresentationControllerClass)
Setter for the document presentation controller class name |
void |
setDocumentTypeName(String documentTypeName)
Setter for the name of the document as defined in the workflow system |
void |
setEncryptDocumentDataInPersistentSessionStorage(boolean encryptDocumentDataInPersistentSessionStorage)
Setter for flag indicating that the document data should be encrypted when persisted |
void |
setUsePessimisticLocking(boolean usePessimisticLocking)
|
void |
setUseWorkflowPessimisticLocking(boolean useWorkflowPessimisticLocking)
|
void |
setWorkflowAttributes(WorkflowAttributes workflowAttributes)
|
void |
setWorkflowProperties(WorkflowProperties workflowProperties)
This element is used to define a set of workflowPropertyGroups, which are used to specify which document properties should be serialized during the document serialization process. |
String |
toString()
|
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase |
---|
getAttributeDefinition, getAttributeNames, getAttributes, getCollectionDefinition, getCollectionNames, getCollections, getComplexAttributes, getRelationshipDefinition, getRelationshipNames, getRelationships, getStateMapping, setAttributes, setCollections, setComplexAttributes, setRelationships, setStateMapping |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
copy, copyProperties, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Field Detail |
---|
protected String documentTypeName
protected Class<? extends Document> documentClass
protected Class<? extends Document> baseDocumentClass
protected Class<? extends BusinessRule> businessRulesClass
protected boolean allowsNoteAttachments
protected boolean allowsNoteFYI
protected Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass
protected boolean displayTopicFieldInNotes
protected boolean usePessimisticLocking
protected boolean useWorkflowPessimisticLocking
protected boolean encryptDocumentDataInPersistentSessionStorage
protected boolean allowsCopy
protected WorkflowProperties workflowProperties
protected WorkflowAttributes workflowAttributes
protected Class<? extends DocumentAuthorizer> documentAuthorizerClass
protected Class<? extends DocumentPresentationController> documentPresentationControllerClass
protected List<ReferenceDefinition> defaultExistenceChecks
protected Map<String,ReferenceDefinition> defaultExistenceCheckMap
Constructor Detail |
---|
public DocumentEntry()
Method Detail |
---|
public String getJstlKey()
DataDictionaryEntry.getJstlKey()
public void setDocumentClass(Class<? extends Document> documentClass)
documentClass
- - the document class associated with the documentpublic Class<? extends Document> getDocumentClass()
Document
subclass associated with the document
public void setBaseDocumentClass(Class<? extends Document> baseDocumentClass)
baseDocumentClass
- - the superclass associated with the documentpublic Class<? extends Document> getBaseDocumentClass()
Document
superclass associated with the document
This gives the data dictionary the ability to index by the superclass in addition to the current class.
public void setBusinessRulesClass(Class<? extends BusinessRule> businessRulesClass)
BusinessRule
to execute rules for the document
public Class<? extends BusinessRule> getBusinessRulesClass()
BusinessRule
that will be used to execute business rules for the document
public void setDocumentTypeName(String documentTypeName)
documentTypeName
- - name of the document in workflowpublic String getDocumentTypeName()
public void completeValidation()
completeValidation
in interface DataDictionaryEntry
completeValidation
in class DataDictionaryEntryBase
DataDictionaryEntry.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
public void completeValidation(ValidationTrace tracer)
DataDictionaryEntryBase
completeValidation
in interface DataDictionaryEntry
completeValidation
in class DataDictionaryEntryBase
tracer
- - Record of object's locationDataDictionaryEntry.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
public String getFullClassName()
DataDictionaryEntry
DataDictionaryEntry.getFullClassName()
public Class getEntryClass()
getEntryClass
in class DataDictionaryEntryBase
DataDictionaryEntryBase.getEntryClass()
public String toString()
toString
in class Object
public boolean getDisplayTopicFieldInNotes()
public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
displayTopicFieldInNotes
- public boolean getUsePessimisticLocking()
public void setUsePessimisticLocking(boolean usePessimisticLocking)
usePessimisticLocking
- public boolean getUseWorkflowPessimisticLocking()
public void setUseWorkflowPessimisticLocking(boolean useWorkflowPessimisticLocking)
useWorkflowPessimisticLocking
- public void setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass)
public Class<? extends KeyValuesFinder> getAttachmentTypesValuesFinderClass()
ControlDefinition.getValuesFinderClass()
public void setAllowsCopy(boolean allowsCopy)
public boolean getAllowsCopy()
public boolean getAllowsNoteAttachments()
The add attachments section on notes will not be rendered when this is set to false.
public void setAllowsNoteAttachments(boolean allowsNoteAttachments)
allowsNoteAttachments
- public boolean getAllowsNoteFYI()
public void setAllowsNoteFYI(boolean allowsNoteFYI)
allowsNoteFYI
- public WorkflowProperties getWorkflowProperties()
public void setWorkflowProperties(WorkflowProperties workflowProperties)
public WorkflowAttributes getWorkflowAttributes()
public void setWorkflowAttributes(WorkflowAttributes workflowAttributes)
public Class<? extends DocumentAuthorizer> getDocumentAuthorizerClass()
DocumentAuthorizer
that will authorize actions for this document
public void setDocumentAuthorizerClass(Class<? extends DocumentAuthorizer> documentAuthorizerClass)
documentAuthorizerClass
- public Class<? extends DocumentPresentationController> getDocumentPresentationControllerClass()
DocumentPresentationController
that will be invoked to implement presentation
logic for the document
public void setDocumentPresentationControllerClass(Class<? extends DocumentPresentationController> documentPresentationControllerClass)
documentPresentationControllerClass
- public List<ReferenceDefinition> getDefaultExistenceChecks()
Optionally, the reference objects can be required to be active. The list keeps the order in which they were added. JSTL: defaultExistenceChecks is a Map of Reference elements, whose entries are keyed by attributeName.
public void setDefaultExistenceChecks(List<ReferenceDefinition> defaultExistenceChecks)
ReferenceDefinition
associated with this
MaintenanceDocument
defaultExistenceChecks
- public List<String> getDefaultExistenceCheckFieldNames()
List
of all defaultExistenceCheck reference fieldNames associated with this MaintenanceDocument
The List keeps the order the items were added in.
public boolean isEncryptDocumentDataInPersistentSessionStorage()
public void setEncryptDocumentDataInPersistentSessionStorage(boolean encryptDocumentDataInPersistentSessionStorage)
encryptDocumentDataInPersistentSessionStorage
- public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class DataDictionaryEntryBase
Exception
DataDictionaryEntryBase.afterPropertiesSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |