public class AccountRequestDocument2 extends TransactionalDocumentBase implements SessionDocument
Modifier and Type | Field and Description |
---|---|
static String |
ACCT_REQ_DOC_2_EDITABLE_FIELDS
A test key to map to some value indicating what fields the user can edit on this doc.
|
static String |
EDIT_ALL_BUT_REASONS
A test value indicating that the user has permission to edit everything except "reason1" and "reason2".
|
static String |
EDIT_REASONS_ONLY
A test value indicating that the user only has permission to edit "reason1" and "reason2".
|
adHocRoutePersons, adHocRouteWorkgroups, documentHeader, documentNumber, notes, pessimisticLocks
extension, newCollectionRecord
_persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup, objectId, versionNumber
Constructor and Description |
---|
AccountRequestDocument2() |
Modifier and Type | Method and Description |
---|---|
Account |
getAccount(int index) |
List<Account> |
getAccounts() |
String |
getAccountTypeCode() |
String |
getCustomLockDescriptor(Person user)
Generates a custom lock descriptor with a format of "[documentNumber]-[The user session's 'acctReqDoc2EditableFields' parameter value]".
|
String |
getReason1() |
String |
getReason2() |
String |
getRequester() |
String |
getRequestType() |
void |
setAccounts(List<Account> accounts) |
void |
setAccountTypeCode(String accountType) |
void |
setReason1(String reason1) |
void |
setReason2(String reason2) |
void |
setRequester(String requester) |
void |
setRequestType(String requestType) |
boolean |
useCustomLockDescriptors()
Since this class was made to test custom lock descriptors, this method will always return true.
|
_persistence_get, _persistence_new, _persistence_post_clone, _persistence_set, getAllowsCopy, isSessionDocument
_persistence_get_documentNumber, _persistence_set_documentNumber, addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getActionRequests, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearingMethodNames, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getSuperUserAnnotation, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, postRemove, prepareForSave, prepareForSave, prePersist, processAfterRetrieve, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, setSuperUserAnnotation, toCopy, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get_objectId, _persistence_get_versionNumber, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set_objectId, _persistence_set_versionNumber, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getActionRequests, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearingMethodNames, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getSuperUserAnnotation, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, setSuperUserAnnotation, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
getObjectId
public static final String ACCT_REQ_DOC_2_EDITABLE_FIELDS
public static final String EDIT_ALL_BUT_REASONS
public static final String EDIT_REASONS_ONLY
public AccountRequestDocument2()
public String getReason2()
public void setReason2(String reason2)
public String getReason1()
public void setReason1(String reason1)
public String getRequester()
public void setRequester(String requester)
public List<Account> getAccounts()
public void setAccounts(List<Account> accounts)
public Account getAccount(int index)
public String getRequestType()
public void setRequestType(String requestType)
public void setAccountTypeCode(String accountType)
public String getAccountTypeCode()
public boolean useCustomLockDescriptors()
useCustomLockDescriptors
in interface Document
useCustomLockDescriptors
in class DocumentBase
DocumentBase.useCustomLockDescriptors()
public String getCustomLockDescriptor(Person user)
getCustomLockDescriptor
in interface Document
getCustomLockDescriptor
in class DocumentBase
DocumentBase.getCustomLockDescriptor(org.kuali.rice.kim.api.identity.Person)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.