Package com.saperion.ngc.dialogs
Class RevisionHistoryDialog.RevisionBean
- java.lang.Object
-
- com.saperion.ngc.dialogs.RevisionHistoryDialog.RevisionBean
-
- Enclosing class:
- RevisionHistoryDialog
public static class RevisionHistoryDialog.RevisionBean extends java.lang.ObjectBean for revision information as string.
-
-
Constructor Summary
Constructors Constructor Description RevisionBean(DocumentVersionInfo info, DocumentId docId, java.lang.String aMaskName, boolean userAllowedToView)Creates a new RevisionBean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComment()java.lang.StringgetCreator()java.util.DategetDate()java.lang.StringgetDateString()java.lang.StringgetDdcName()DocumentIdgetDocumentId()java.lang.StringgetMaskName()java.lang.StringgetNumber()intgetNumberAsInt()java.lang.StringgetObjectId()java.lang.StringgetRevisionId()com.saperion.intf.SaPropertyValue[]getRevisionProperties()booleanisUserAllowedToView()
-
-
-
Constructor Detail
-
RevisionBean
public RevisionBean(DocumentVersionInfo info, DocumentId docId, java.lang.String aMaskName, boolean userAllowedToView)
Creates a new RevisionBean.- Parameters:
info- version infodocId- docIdaMaskName- maskNameuserAllowedToView- whether the user is allowed to view the revision.
-
-
Method Detail
-
getMaskName
public java.lang.String getMaskName()
- Returns:
- maskName
-
getObjectId
public java.lang.String getObjectId()
- Returns:
- Object Id
-
getDdcName
public java.lang.String getDdcName()
- Returns:
- DdcName
-
getRevisionId
public java.lang.String getRevisionId()
- Returns:
- version Revision Id
-
getDateString
public java.lang.String getDateString()
- Returns:
- date string
-
getDate
public java.util.Date getDate()
- Returns:
- version date
-
getCreator
public java.lang.String getCreator()
- Returns:
- creator string
-
getComment
public java.lang.String getComment()
- Returns:
- comment string
-
getNumber
public java.lang.String getNumber()
- Returns:
- version number string
-
getNumberAsInt
public int getNumberAsInt()
- Returns:
- version number as int
-
getDocumentId
public DocumentId getDocumentId()
- Returns:
- document id
-
getRevisionProperties
public com.saperion.intf.SaPropertyValue[] getRevisionProperties()
- Returns:
- revision properties
-
isUserAllowedToView
public boolean isUserAllowedToView()
- Returns:
- whether the current user may view the revision
-
-