public class Narrative extends KraPersistableBusinessObjectBase implements HierarchyMaintainable, KcAttachment
UPDATE_USER_LENGTH| Constructor and Description |
|---|
Narrative() |
| Modifier and Type | Method and Description |
|---|---|
List |
buildListOfDeletionAwareLists() |
void |
clearAttachment() |
boolean |
equals(Object obj) |
protected String |
findLoggedInUserPersonId() |
String |
getComments() |
String |
getContactName() |
String |
getContentType() |
byte[] |
getData()
Returns the data of this attachment
|
boolean |
getDeleteAttachment(String userId)
Can the current user delete the attachment?
|
boolean |
getDownloadAttachment(String userId)
Can the current user download (view) the attachment?
|
String |
getEmailAddress() |
String |
getFileName() |
String |
getHierarchyProposalNumber()
Gets the hierarchyProposalNumber attribute.
|
String |
getIconPath()
Return the image file path based on mime type or other criteria.
|
String |
getInstitutionalAttachmentTypeCode()
This method is to return institutional attachment type.
|
boolean |
getModifyNarrativeRights(String userId)
Can the current user modify the user rights for the attachment?
|
Integer |
getModuleNumber() |
Integer |
getModuleSequenceNumber() |
String |
getModuleStatusCode() |
String |
getModuleTitle() |
String |
getName()
Returns file name of the attached file.
|
List<NarrativeAttachment> |
getNarrativeAttachmentList() |
org.apache.struts.upload.FormFile |
getNarrativeFile() |
NarrativeStatus |
getNarrativeStatus()
Gets the narrativeStatus attribute.
|
NarrativeType |
getNarrativeType() |
String |
getNarrativeTypeCode() |
NarrativeUserRights |
getNarrativeUserRight(int index)
Gets index i from the narrativeUserRights list.
|
List<NarrativeUserRights> |
getNarrativeUserRights() |
String |
getPhoneNumber() |
String |
getProposalNumber() |
boolean |
getReplaceAttachment(String userId)
Can the current user replace the attachment?
|
Timestamp |
getTimestampDisplay() |
String |
getType()
Returns the mime type of the attachment.
|
String |
getUploadUserDisplay() |
String |
getUploadUserFullName() |
int |
hashCode() |
int |
hierarchyHashCode() |
boolean |
isHiddenInHierarchy()
Gets the hiddenInHierarchy attribute.
|
void |
populateAttachment()
This method used to populate the attachment to narrative object by reading FormFile
|
void |
setComments(String comments) |
void |
setContactName(String contactName) |
void |
setContentType(String contentType) |
void |
setEmailAddress(String emailAddress) |
void |
setFileName(String fileName) |
void |
setHiddenInHierarchy(boolean hiddenInHierarchy)
Sets the hiddenInHierarchy attribute value.
|
void |
setHierarchyProposalNumber(String hierarchyProposalNumber)
Sets the hierarchyProposalNumber attribute value.
|
void |
setInstitutionalAttachmentTypeCode(String institutionalAttachmentTypeCode)
This method set the institutional attachment type.
|
void |
setModuleNumber(Integer moduleNumber) |
void |
setModuleSequenceNumber(Integer moduleSequenceNumber) |
void |
setModuleStatusCode(String moduleStatusCode) |
void |
setModuleTitle(String moduleTitle) |
void |
setNarrativeAttachmentList(List<NarrativeAttachment> narrativePdfList) |
void |
setNarrativeFile(org.apache.struts.upload.FormFile narrativeFile) |
void |
setNarrativeStatus(NarrativeStatus narrativeStatus)
Sets the narrativeStatus attribute value.
|
void |
setNarrativeType(NarrativeType narrativeType) |
void |
setNarrativeTypeCode(String narrativeTypeCode) |
void |
setNarrativeUserRights(List<NarrativeUserRights> narrativeUserRights) |
void |
setPhoneNumber(String phoneNumber) |
void |
setProposalNumber(String proposalNumber) |
void |
setTimestampDisplay(Timestamp timestampDisplay) |
void |
setUploadUserDisplay(String uploadUserDisplay) |
void |
setUploadUserFullName(String uploadUserFullName) |
getAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateTimestamp, setUpdateUser, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberprotected String findLoggedInUserPersonId()
public Integer getModuleNumber()
public void setModuleNumber(Integer moduleNumber)
public String getProposalNumber()
public void setProposalNumber(String proposalNumber)
public String getComments()
public void setComments(String comments)
public String getContactName()
public void setContactName(String contactName)
public String getEmailAddress()
public void setEmailAddress(String emailAddress)
public Integer getModuleSequenceNumber()
public void setModuleSequenceNumber(Integer moduleSequenceNumber)
public String getModuleStatusCode()
public void setModuleStatusCode(String moduleStatusCode)
public String getModuleTitle()
public void setModuleTitle(String moduleTitle)
public String getNarrativeTypeCode()
public void setNarrativeTypeCode(String narrativeTypeCode)
public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
public NarrativeType getNarrativeType()
public void setNarrativeType(NarrativeType narrativeType)
public List<NarrativeUserRights> getNarrativeUserRights()
public void setNarrativeUserRights(List<NarrativeUserRights> narrativeUserRights)
public NarrativeStatus getNarrativeStatus()
public void setNarrativeStatus(NarrativeStatus narrativeStatus)
narrativeStatus - The narrativeStatus to set.public List<NarrativeAttachment> getNarrativeAttachmentList()
public void setNarrativeAttachmentList(List<NarrativeAttachment> narrativePdfList)
public org.apache.struts.upload.FormFile getNarrativeFile()
public void setNarrativeFile(org.apache.struts.upload.FormFile narrativeFile)
public String getFileName()
public void setFileName(String fileName)
public String getInstitutionalAttachmentTypeCode()
public void setInstitutionalAttachmentTypeCode(String institutionalAttachmentTypeCode)
institutionalAttachmentTypeCode - public boolean getDownloadAttachment(String userId)
username - public boolean getReplaceAttachment(String userId)
public boolean getDeleteAttachment(String userId)
public boolean getModifyNarrativeRights(String userId)
public void populateAttachment()
public NarrativeUserRights getNarrativeUserRight(int index)
index - public void clearAttachment()
public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.krad.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class org.kuali.rice.krad.bo.PersistableBusinessObjectBasepublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hierarchyHashCode()
public Timestamp getTimestampDisplay()
public void setTimestampDisplay(Timestamp timestampDisplay)
public String getUploadUserDisplay()
public void setUploadUserDisplay(String uploadUserDisplay)
public String getUploadUserFullName()
public void setUploadUserFullName(String uploadUserFullName)
public String getHierarchyProposalNumber()
getHierarchyProposalNumber in interface HierarchyMaintainablepublic void setHierarchyProposalNumber(String hierarchyProposalNumber)
setHierarchyProposalNumber in interface HierarchyMaintainablehierarchyProposalNumber - The hierarchyProposalNumber to set.public boolean isHiddenInHierarchy()
isHiddenInHierarchy in interface HierarchyMaintainablepublic void setHiddenInHierarchy(boolean hiddenInHierarchy)
setHiddenInHierarchy in interface HierarchyMaintainablehiddenInHierarchy - The hiddenInHierarchy to set.public String getContentType()
public void setContentType(String contentType)
public byte[] getData()
KcAttachmentgetData in interface KcAttachmentpublic String getIconPath()
KcAttachmentgetIconPath in interface KcAttachmentpublic String getName()
KcAttachmentgetName in interface KcAttachmentpublic String getType()
KcAttachmentgetType in interface KcAttachmentCopyright © 2013 The Kuali Foundation. All Rights Reserved.