|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITaggingModel
This Interface Provides Methods to Handle getting, Adding/Removing Tags from Pathways
Method Summary | |
---|---|
void |
AddRemoveObjectTag(java.lang.String tag,
java.lang.String id,
int action,
java.lang.String ptsource)
Adds/Removes Tag specified for the Object with given ID based on Action specified. |
IXPList |
GetObjectTags(int id)
Gets the List of Tags of that are attached to this Object by pathways. |
XPException |
GetPathwaysTaggingError()
This method returns an error that happened when Add/Remove/Rename Tag request is sent to pathways. |
boolean |
IsTaggingEnabled()
True if Pathways is enabled and user can tag items, else false. |
void |
RenameObjectTag(java.lang.String tag,
java.lang.String id,
java.lang.String ptsource,
java.lang.String renamtTag)
Renames Tag specified for the Object with given ID. |
void |
SetPathwaysTaggingError(XPException e)
This method sets error that happened when tagging request is sent to pathways. |
Method Detail |
---|
IXPList GetObjectTags(int id)
id
- Object Id
void AddRemoveObjectTag(java.lang.String tag, java.lang.String id, int action, java.lang.String ptsource) throws XPIllegalStateException
tag
- Name of the Tag that needs to be Added or Removedid
- Concatenation of classid and Object Id PTCLASSID_PTOJECTIDaction
- Operation to perform on the Tag, 0 = Add, 1 = Delete, 2 = Edit (delete old tag and add new tag)ptsource
- source of the Object to be specified for Pathways it can be PTPORTAL or PTCOLLAB, for more sources see PathwaysConstants.
XPIllegalStateException
- Throws this exception if pathways is unavailable and a request to Add/Remove Tags is sent.void RenameObjectTag(java.lang.String tag, java.lang.String id, java.lang.String ptsource, java.lang.String renamtTag) throws XPIllegalStateException
tag
- the Source Tag Name to be used for renamingid
- Concatenation of classid and Object Id PTCLASSID_PTOJECTIDptsource
- source of the Object to be specified for Pathways it can be PTPORTAL or PTCOLLAB, for more sources see PathwaysConstants.renameTag
- the Target Tag Name to be used for renaming
XPIllegalStateException
- Throws this exception if pathways is unavailable and a request to Add/Remove Tags is sent.boolean IsTaggingEnabled()
XPException GetPathwaysTaggingError()
void SetPathwaysTaggingError(XPException e)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |