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 TypeMethodDescriptionboolean
boolean
canReopen
(SystemUser su) boolean
canReturnToInitiator
(MemoComment latestComment) static void
protected SystemUser
This method is invoked when a memo is escalated to another level.int
Typically, number of approvals required is determined by the number returned by theMemoType.getApprovalCount()
method.int
getLevel()
static String
getLevelValue
(int value) static String[]
protected String
static String[]
renameAction
(String action) renameActionVerb
(String action) renameCommentAction
(String action) protected void
This is invoked just before the memo is reopened.protected void
returning
(MemoComment comment) This is invoked just before the memo is returned.void
setLevel
(int level) void
setProduct
(Id productId) void
setProduct
(Product product) void
setProduct
(BigDecimal idValue) void
This will be invoked by the system 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, validateDelete
Methods 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, fill, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getAttachment, getAttachmentId, getChildren, 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, 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, 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, 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, valueEquals
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:StoredObject
This will be invoked by the system whenever the object is saved to the DB. It will be invoked in all cases, while creating new objects and updating/deleting/un-deleting 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:
validateData
in classMemo
- Parameters:
tm
- Current transaction manager.- Throws:
Exception
- If data is invalid.
-
renameAction
- Overrides:
renameAction
in classMemo
-
renameCommentAction
- Overrides:
renameCommentAction
in classMemo
-
renameActionVerb
- Overrides:
renameActionVerb
in classMemo
-
getMemoStatus
- Overrides:
getMemoStatus
in classMemo
-
getApprovalsRequired
public int getApprovalsRequired()Description copied from class:Memo
Typically, 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:
getApprovalsRequired
in classMemo
- Returns:
- A positive number.
-
getOrganizationId
-
escalating
Description copied from class:Memo
This 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:
escalating
in classMemo
- Returns:
- A system user at the next level.
-
returning
Description copied from class:Memo
This 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:Memo
This 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:
canReturnToInitiator
in classMemo
-
listApprovers
- Overrides:
listApprovers
in classMemo
-
listCommenters
- Overrides:
listCommenters
in classMemo
-
whyNoTakers
- Overrides:
whyNoTakers
in classMemo
-
canReopen
-
canEscalate
- Overrides:
canEscalate
in classMemo
-