Class Issue
- All Implemented Interfaces:
Displayable,StringFiller,HasId,OfEntity
-
Field Summary
Fields inherited from class com.storedobject.core.StoredObject
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanReopen(SystemUser su) booleancanReturnToInitiator(MemoComment latestComment) static voidprotected SystemUserThis method is invoked when a memo is escalated to another level.intTypically, number of approvals required is determined by the number returned by theMemoType.getApprovalCount()method.intgetLevel()static StringgetLevelValue(int value) static String[]protected Stringstatic String[]renameAction(String action) renameActionVerb(String action) renameCommentAction(String action) protected voidThis is invoked just before the memo is reopened.protected voidreturning(MemoComment comment) This is invoked just before the memo is returned.voidsetLevel(int level) voidsetProduct(Id productId) voidsetProduct(Product product) voidsetProduct(BigDecimal idValue) voidThe system will invoke this whenever the object is saved to the DB.Methods inherited from class com.storedobject.core.Memo
approved, browseColumns, getContent, getDate, getInitialComment, getInitiatedBy, getInitiatedById, getLastComment, getLastCommentBy, getLatestComment, getNo, getPendingWith, getReference, getStatus, getStatusValue, getStatusValue, getStatusValues, getSubject, getSystemEntity, getSystemEntityId, getType, getTypeId, isLatestComment, isMine, listApprovers, listCommenters, rejected, save, setDate, setLastComment, setNo, setStatus, setSubject, setSystemEntity, setSystemEntity, setSystemEntity, setType, setType, setType, toDisplay, updateSubject, validate, validateDeleteMethods inherited from class com.storedobject.core.StoredObject
addLink, addLink, addLink, addLink, addLink, addLink, addLink, addLink, checkCurrency, checkCurrency, checkForDuplicate, checkForDuplicate, checkTimeZone, checkTransaction, clearObjectLinks, contemporary, copy, copy, count, count, count, count, count, count, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, create, created, delete, delete, delete, deleted, directUpdate, equals, exists, exists, exists, exists, exists, existsFileData, existsLink, existsLink, existsLink, existsLink, existsLink, existsLink, existsLink, existsLink, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsMaster, existsMaster, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, family, family, family, family, fill, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getActor, getAttachment, getAttachmentId, getChildren, getContemporaryOf, getDeleted, getDeleted, getExistsCondition, getExistsCondition, getFileData, getFileData, getHistorical, getId, getKeyIndex, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getNotExistsCondition, getNotExistsCondition, getParent, getParent, getParent, getParentId, getParentId, getParentId, getRelated, getRelated, getTransaction, getTransactionId, getTransactionIP, getUnique, getUniqueCondition, hashCode, inserted, isModified, isVirtual, list, list, list, list, list, list, list, list, list, list, list, list, list, listDeletedIds, listFileData, listFileData, listHistory, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listTree, listTree, listTree, listTree, listViaQuery, listViaQuery, load, load, load, load, loadAttributesFrom, loaded, loading, makeNew, makeVirtual, migrate, moduleName, nextVersion, objectLink, objectLink, objectLink, objectLinks, objectLinks, old, person, previousVersion, previousVersion, query, query, query, query, query, query, query, query, query, query, query, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, reload, reload, reloaded, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeReverseLinks, removeReverseLinks, save, save, save, save, save, save, save, save, save, save, save, save, save, save, save, saved, saving, setMaster, setRawValue, setTransaction, stringify, tableName, timestamp, toCode, toString, transacting, undelete, undelete, undeleted, updated, user, userId, validateChildAttach, validateChildDetach, validateChildUpdate, validateInsert, validateParentAttach, validateParentDetach, validateParentUpdate, validateUndelete, validateUpdate, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.storedobject.core.OfEntity
check, findSystemEntityId
-
Constructor Details
-
Issue
public Issue()
-
-
Method Details
-
columns
-
protectedColumns
-
setLevel
public void setLevel(int level) -
getLevel
-
getLevelValues
-
getLevelValue
-
getLevelValue
-
setProduct
-
setProduct
-
setProduct
-
getProductId
-
getProduct
-
validateData
Description copied from class:StoredObjectThe system will invoke this whenever the object is saved to the DB. It will be invoked in all cases while creating new objects and updating/deleting/undeleting existing objects. If any exception is raised by this method, the process of saving to the DB will be abandoned.
Note: This method is mainly used to validate the data of all attributes of the object, and it may be used by others for validating the object. For example, front-end data-entry systems can use this method for validating the object.
- Overrides:
validateDatain classMemo- Parameters:
tm- Current transaction manager.- Throws:
Exception- If data is invalid.
-
renameAction
- Overrides:
renameActionin classMemo
-
renameCommentAction
- Overrides:
renameCommentActionin classMemo
-
renameActionVerb
- Overrides:
renameActionVerbin classMemo
-
getMemoStatus
- Overrides:
getMemoStatusin classMemo
-
getApprovalsRequired
public int getApprovalsRequired()Description copied from class:MemoTypically, number of approvals required is determined by the number returned by theMemoType.getApprovalCount()method. However, this method can be overridden and can return some other values based on some other conditions.- Overrides:
getApprovalsRequiredin classMemo- Returns:
- A positive number.
-
getOrganizationId
-
escalating
Description copied from class:MemoThis method is invoked when a memo is escalated to another level. This should return a system user at next level.Note: This is not used by the basic memo system because there is no concept of "escalation" in memo system. However, it could be implemented in a derived class.
- Overrides:
escalatingin classMemo- Returns:
- A system user at the next level.
-
returning
Description copied from class:MemoThis is invoked just before the memo is returned. You may set/change attributes of the memo at this stage. The memo will be saved after this call. -
reopening
protected void reopening()Description copied from class:MemoThis is invoked just before the memo is reopened. You may set/change attributes of the memo at this stage. The memo will be saved after this call.Note: This is not used by the basic memo system because there is no concept of reopening a memo. However, it could be implemented in derived classes.
-
canReturnToInitiator
- Overrides:
canReturnToInitiatorin classMemo
-
listApprovers
- Overrides:
listApproversin classMemo
-
listCommenters
- Overrides:
listCommentersin classMemo
-
whyNoTakers
- Overrides:
whyNoTakersin classMemo
-
canReopen
-
canEscalate
- Overrides:
canEscalatein classMemo
-