public abstract class ProtocolAttachmentProtocolBase extends ProtocolAttachmentBase
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolAttachmentProtocolBase.PropertyName
Contains all the property names in this class.
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected Integer |
attachmentVersion |
protected boolean |
changed |
protected String |
comments |
static String |
COMPLETE_STATUS_CODE |
protected String |
contactEmailAddress |
protected String |
contactName |
protected String |
contactPhoneNumber |
protected Timestamp |
createTimestamp |
protected String |
description |
protected String |
documentStatusCode |
static String |
INCOMPLETE_STATUS_CODE |
protected ProtocolAttachmentStatusBase |
status |
protected String |
statusCode |
protected ProtocolAttachmentTypeBase |
type |
protected String |
typeCode |
protected List<ProtocolAttachmentProtocolBase> |
versions |
UPDATE_USER_LENGTH| Modifier | Constructor and Description |
|---|---|
protected |
ProtocolAttachmentProtocolBase()
empty ctor to satisfy JavaBean convention.
|
protected |
ProtocolAttachmentProtocolBase(ProtocolBase protocol)
Convenience ctor to add the protocol as an owner.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
abstract String |
getAttachmentDescription()
A human readable description of the attachment type.
|
Integer |
getAttachmentVersion() |
String |
getComments()
Gets the ProtocolBase Attachment ProtocolBase Comments.
|
String |
getContactEmailAddress()
Gets the ProtocolBase Attachment ProtocolBase Contact Email Address.
|
String |
getContactName()
Gets the ProtocolBase Attachment ProtocolBase Contact Name.
|
String |
getContactPhoneNumber()
Gets the ProtocolBase Attachment ProtocolBase Contact Phone Number.
|
Timestamp |
getCreateTimestamp() |
String |
getDescription()
Gets the Description.
|
String |
getDocumentStatusCode() |
abstract String |
getGroupCode()
The group code that the ProtocolBase Attachment belongs to.
|
ProtocolAttachmentStatusBase |
getStatus()
Gets the ProtocolBase Attachment ProtocolBase Status.
|
String |
getStatusCode()
Gets the status Code.
|
ProtocolAttachmentTypeBase |
getType()
Gets the ProtocolBase Attachment Base Type.
|
String |
getTypeCode()
Gets the type Code .
|
List<ProtocolAttachmentProtocolBase> |
getVersions()
Gets the versions attribute.
|
int |
hashCode() |
boolean |
isActive() |
boolean |
isChanged() |
abstract boolean |
isDeleted() |
abstract boolean |
isDraft() |
abstract boolean |
isFinal() |
protected void |
prePersist() |
void |
setActive(boolean active) |
void |
setAttachmentVersion(Integer attachmentVersion) |
void |
setChanged(boolean changed) |
void |
setComments(String comments)
Sets the ProtocolBase Attachment ProtocolBase comments.
|
void |
setContactEmailAddress(String contactEmailAddress)
Sets the ProtocolBase Attachment ProtocolBase Contact Email Address.
|
void |
setContactName(String contactName)
Sets the ProtocolBase Attachment ProtocolBase Contact Name.
|
void |
setContactPhoneNumber(String contactPhoneNumber)
Sets the ProtocolBase Attachment ProtocolBase Contact Phone Number.
|
void |
setCreateTimestamp(Timestamp createTimestamp) |
abstract void |
setDeleted() |
void |
setDescription(String description)
Sets the Description.
|
void |
setDocumentStatusCode(String documentStatusCode) |
abstract void |
setDraft() |
abstract void |
setFinal() |
void |
setStatus(ProtocolAttachmentStatusBase status)
Sets the ProtocolBase Attachment ProtocolBase Status.
|
void |
setStatusCode(String statusCode)
Sets the status Code.
|
void |
setType(ProtocolAttachmentTypeBase type)
Sets the ProtocolBase Attachment Base Type.
|
void |
setTypeCode(String typeCode)
Sets the type Code.
|
void |
setUpdateTimestamp(Timestamp updateTimestamp) |
void |
setUpdateUser(String updateUser)
Sets the update user, making sure it is not the system user and truncating the name so it will fit.
|
void |
setVersions(List<ProtocolAttachmentProtocolBase> versions)
Sets the versions attribute value.
|
boolean |
supportsVersioning()
Method to check whether an attachment supports versioning.
|
addAttachmentToCollection, filterExistingAttachments, filterNewAttachments, getDocumentId, getFile, getFileId, getId, getNewFile, getUpdateUserFullName, isNew, removeAttachmentFromCollection, resetPersistenceState, setDocumentId, setFile, setFileId, setId, setNewFile, setUpdateUserFullNamegetProtocol, getProtocolId, getProtocolNumber, getSequenceNumber, getSequenceOwner, init, postInitHook, setProtocol, setProtocolId, setProtocolNumber, setSequenceNumber, setSequenceOwnergetAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, preUpdate, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberpublic static final String INCOMPLETE_STATUS_CODE
public static final String COMPLETE_STATUS_CODE
protected String statusCode
protected ProtocolAttachmentStatusBase status
protected String contactName
protected String contactEmailAddress
protected String contactPhoneNumber
protected String comments
protected String typeCode
protected ProtocolAttachmentTypeBase type
protected String description
protected String documentStatusCode
protected Integer attachmentVersion
protected Timestamp createTimestamp
protected List<ProtocolAttachmentProtocolBase> versions
protected boolean active
protected boolean changed
protected ProtocolAttachmentProtocolBase()
protected ProtocolAttachmentProtocolBase(ProtocolBase protocol)
This ctor does not validate any of the properties.
protocol - the protocol.public ProtocolAttachmentStatusBase getStatus()
public void setStatus(ProtocolAttachmentStatusBase status)
status - the ProtocolBase Attachment ProtocolBase Statuspublic String getContactName()
public void setContactName(String contactName)
contactName - the ProtocolBase Attachment ProtocolBase Contact Namepublic String getContactEmailAddress()
public void setContactEmailAddress(String contactEmailAddress)
contactEmailAddress - the ProtocolBase Attachment ProtocolBase Contact Email Addresspublic String getContactPhoneNumber()
public void setContactPhoneNumber(String contactPhoneNumber)
contactPhoneNumber - the ProtocolBase Attachment ProtocolBase Contact Phone Numberpublic String getComments()
public void setComments(String comments)
comments - the ProtocolBase Attachment ProtocolBase commentspublic String getStatusCode()
public void setStatusCode(String statusCode)
statusCode - the status Code.public ProtocolAttachmentTypeBase getType()
public void setType(ProtocolAttachmentTypeBase type)
type - the ProtocolBase Attachment Base Typepublic String getTypeCode()
public void setTypeCode(String typeCode)
typeCode - the type Code.public abstract String getGroupCode()
ProtocolAttachmentGroup.public String getDescription()
public void setDescription(String description)
description - the Descriptionpublic abstract String getAttachmentDescription()
getAttachmentDescription in class ProtocolAttachmentBasepublic List<ProtocolAttachmentProtocolBase> getVersions()
public void setVersions(List<ProtocolAttachmentProtocolBase> versions)
versions - The versions to set.public boolean supportsVersioning()
supportsVersioning in class ProtocolAttachmentBasepublic abstract boolean isDraft()
public abstract void setDraft()
public abstract boolean isFinal()
public abstract void setFinal()
public abstract boolean isDeleted()
public abstract void setDeleted()
public int hashCode()
hashCode in class ProtocolAttachmentBasepublic boolean equals(Object obj)
equals in class ProtocolAttachmentBasepublic String getDocumentStatusCode()
public void setDocumentStatusCode(String documentStatusCode)
public boolean isActive()
public void setActive(boolean active)
public void setUpdateTimestamp(Timestamp updateTimestamp)
setUpdateTimestamp in class KraPersistableBusinessObjectBasepublic void setUpdateUser(String updateUser)
KraPersistableBusinessObjectBasesetUpdateUser in class KraPersistableBusinessObjectBaseupdateUser - the user who updated this objectpublic Integer getAttachmentVersion()
public void setAttachmentVersion(Integer attachmentVersion)
public boolean isChanged()
public void setChanged(boolean changed)
public Timestamp getCreateTimestamp()
public void setCreateTimestamp(Timestamp createTimestamp)
protected void prePersist()
KraPersistableBusinessObjectBaseprePersist in class KraPersistableBusinessObjectBaseorg.kuali.core.bo.PersistableBusinessObjectBase#beforeInsert()Copyright © 2013 The Kuali Foundation. All Rights Reserved.