|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.portaluiinfrastructure.editor.ObjEditorModel com.plumtree.portalpages.ext.providers.soap.documentsubmitadvanced.SOAPCardSubmitAdvancedModel
public class SOAPCardSubmitAdvancedModel
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
SOAPCardSubmitAdvancedModel()
|
Method Summary | |
---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskAfterStore()
Code executed after the object is stored. |
void |
DoTaskBeforeStore()
Code executed after the object is stored. |
void |
DoTaskOnChangePage(java.lang.String _sNewSpaceName,
java.lang.String _sNewPageName)
This method can be implemented by classes extending this one. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
That method contains the code that should be executed just after the object has been initialized when the new editor is started. |
void |
GenerateCardNameAndDescription()
|
java.lang.String |
GetCardDescription()
returns the current Card Description |
java.lang.String |
GetCardName()
returns the current Card Name |
java.lang.String |
GetCardPath()
returns the current Card Path |
int |
GetCardSubmitType()
returns the CardSubmission type supported by the webservice |
java.lang.String |
GetName()
Returns the Class name. |
Redirect |
GetRedirectAfterFinish()
Returns the Redirect object (this is were we need to go at the end of the Editor). |
java.lang.String |
GetSpaceID()
Get the SpaceID of the parent Activity Space |
boolean |
GetSupportsUpload()
Returns true if the specified data source supports remote document upload. |
boolean |
GetUploadSubmitted()
returns whether the doc has already been submitted to the upload service |
java.lang.String |
GetUploadWSURL()
Returns the webservice's upload url if it supports uploads and it is set. |
int |
GetWebServiceID()
|
void |
Init(AActivitySpace parent)
Inits the Model with the IPTSession. |
void |
ResetCardPath()
|
protected int |
SaveMainPage(XPHashtable _htFormData)
Saves the data on the Main page. |
protected int |
SaveNamePage(XPHashtable _htFormData)
Saves the data on the Name page. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetDefaultCardRefreshSettings(int nCardID)
|
void |
SetUploadSubmittedFlag(boolean _submitted)
|
void |
StartSelectPTObject()
Helper method to start the Select PTObject List. |
int |
SubmitCard()
|
void |
SubmitCard(int[] arFolderIDs,
java.lang.String strLanguage,
java.lang.String strPath,
int nDocTypeID,
int nDataSourceID)
|
int |
SubmitCard(java.lang.String _path,
java.lang.String _type,
java.lang.String _docID)
|
void |
SubmitCardWithPropertyBag(int[] arFolderIDs,
java.lang.String strLanguage,
int nDocTypeID,
int nDataSourceID,
IXPPropertyBag pbagCardProp)
|
void |
UpdatePropertiesForDocUpload(java.lang.String _id,
java.lang.String _server)
|
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, InitIsSysAdminFlag, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.portaluiinfrastructure.editor.IObjEditorModelRO |
---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public SOAPCardSubmitAdvancedModel()
Method Detail |
---|
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class ObjEditorModel
_htFormData
-
XPException
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
EditorModel
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public void GenerateCardNameAndDescription()
public int GetWebServiceID()
public boolean GetSupportsUpload()
GetSupportsUpload
in interface ISOAPCardSubmitAdvancedModelRO
public void SetUploadSubmittedFlag(boolean _submitted)
public boolean GetUploadSubmitted()
ISOAPCardSubmitAdvancedModelRO
GetUploadSubmitted
in interface ISOAPCardSubmitAdvancedModelRO
public java.lang.String GetUploadWSURL()
GetUploadWSURL
in interface ISOAPCardSubmitAdvancedModelRO
public java.lang.String GetCardDescription()
ISOAPCardSubmitAdvancedModelRO
GetCardDescription
in interface ISOAPCardSubmitAdvancedModelRO
com.plumtree.portalpages.browsing.editors.folder.ISOAPCardSubmitAdvancedModelRO#GetCardDescription()
public java.lang.String GetCardName()
ISOAPCardSubmitAdvancedModelRO
GetCardName
in interface ISOAPCardSubmitAdvancedModelRO
com.plumtree.portalpages.browsing.editors.folder.ISOAPCardSubmitAdvancedModelRO#GetCardName()
public void ResetCardPath()
public java.lang.String GetCardPath()
ISOAPCardSubmitAdvancedModelRO
GetCardPath
in interface ISOAPCardSubmitAdvancedModelRO
com.plumtree.portalpages.browsing.editors.folder.ISOAPCardSubmitAdvancedModelRO#GetCardPath()
public int GetCardSubmitType()
ISOAPCardSubmitAdvancedModelRO
GetCardSubmitType
in interface ISOAPCardSubmitAdvancedModelRO
com.plumtree.portalpages.browsing.editors.folder.ISOAPCardSubmitAdvancedModel#GetCardSubmitType()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetSpaceID()
public void Init(AActivitySpace parent)
ObjEditorModel
Init
in interface IModel
Init
in class ObjEditorModel
parent
- the parent Activity Spacecom.plumtree.xpshared.activityspace.IModel#Init()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void SetDefaultCardRefreshSettings(int nCardID)
nCardID
- public void StartSelectPTObject()
public int SubmitCard(java.lang.String _path, java.lang.String _type, java.lang.String _docID)
public int SubmitCard()
public void SubmitCard(int[] arFolderIDs, java.lang.String strLanguage, java.lang.String strPath, int nDocTypeID, int nDataSourceID)
arFolderIDs
- strLanguage
- strPath
- nDocTypeID
- nDataSourceID
- public void SubmitCardWithPropertyBag(int[] arFolderIDs, java.lang.String strLanguage, int nDocTypeID, int nDataSourceID, IXPPropertyBag pbagCardProp)
arFolderIDs
- strLanguage
- nDocTypeID
- nDataSourceID
- pbagCardProp
-
XPException
public void UpdatePropertiesForDocUpload(java.lang.String _id, java.lang.String _server)
protected int SaveMainPage(XPHashtable _htFormData)
_htFormData
-
public void DoTaskOnChangePage(java.lang.String _sNewSpaceName, java.lang.String _sNewPageName)
EditorModel
DoTaskOnChangePage
in class EditorModel
protected int SaveNamePage(XPHashtable _htFormData)
_htFormData
-
public Redirect GetRedirectAfterFinish()
EditorModel
GetRedirectAfterFinish
in interface IRepostModel
GetRedirectAfterFinish
in class EditorModel
IRepostModel.GetRedirectAfterFinish()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |