Modifier and Type | Method and Description |
---|---|
boolean |
checkAuthor(IResource resource)
Returns boolean about Write-Access of a User
|
String |
checkcreatePathID(String path,
IResource res)
Returns path where collaboration Items shall be stored
|
String |
checkcreatePathID(String path,
String id,
IResourceContext context)
Returns path where collaboration Items shall be stored
|
String |
checkPathID(String path,
IResource res)
Returns path where collaboration Items shall be stored
|
String |
checkPathIDwithoutLink(String path,
IResource res)
Returns path where collaboration Items are stored
|
String |
checkPathIDwithoutLink(String path,
RID delRID,
IResourceContext context)
Returns path where collaboration Items are stored (used to work with items in deletion)
|
String |
checkPathIDwithoutLinkCreation(String path,
IResource res) |
boolean |
checkReadPermission(IResource resource)
returns Main Resource (if a collaboration resource or Resource
|
boolean |
checkResFolder(IResourceContext context,
String path)
check if Folder does exist
|
boolean |
checkServiceUser(IResourceContext Context)
Check Collaboration Service User
|
boolean |
checkUserAnonymous(IResourceContext Context)
Check User Anonymous
|
boolean |
createRootFolder(IResourceContext context,
String path,
String folder)
Creates Root-folder for collaboration Applications
|
void |
deleteSubpath(String path,
IResource resource,
IRidList ridList)
delete Collaboration-Folders of List of Resources
|
void |
deleteSubpath(String path,
String constID)
delete Collaboration-Folders of List of Resources
|
RID |
doDeleteOrphanCollaborationFolders(ICollection coll)
returns Main Resource (if a collaboration resource or Resource
|
void |
fillCache(IResource resource)
fill Cache with Collaboration Application Properties
|
IApplicationProperties |
getAppPropService(IResource resource)
returns Application Property Service
|
String |
getCollaborationID(IResource resource)
Returns Collaboration-ID of a collaboration Resource
|
RID |
getCollaborationID(String root,
IResource resource)
Returns Collaboration-ID of a collaboration Resource
|
IResource |
getCollaborationMainResource(IResource resource)
returns Main Resource (if a collaboration resource or Resource
|
String |
getCollaborationServiceUserID()
returns unique ID of Service User collaboration_service
|
String |
getDisplayNameMain(IResource resource)
get DisplayName of Main-Collaboration-Resource
|
RID |
getDocumentGuid(String root,
IResource resource) |
String |
getIceServiceUserID()
returns unique ID of Service User ice_service
|
IResource |
getMainResource(IResource resource)
returns Main Resource (if a collaboration resource or Resource
|
IResource |
getOriginalResource(IResource res)
Follow the link if resource is an internal link
|
String |
getPathID(String path,
IResource res)
Returns path where collaboration Items shall be stored
|
String |
getPathIDwithoutLink(String path,
IResource res)
Returns path where collaboration Items are stored
|
String |
getPrefixCollaborationID(String id)
Returns first 4 characters of an String
|
IResource |
getResourceMain(IResource resource)
get Main-Collaboration-Resource
|
IResourceContext |
getServiceUserContext()
create a Resource context of the Collaboration Service User
|
boolean |
isAdministrator(IResource resource,
IResource collResource)
Check if User has Collaboration Administration Permissions
or Write Permission
|
boolean |
isAdministratorMain(IResource resource)
Check if User has Collaboration Administration Permissions on the
base Resource (e.g.
|
ArrayList |
loadCollaborationConfiguration(boolean handleDiscussion,
boolean handlePersnote,
boolean handleComment,
boolean handleFeedback)
returns returns an Array list containing RIDS where document of service(s) are stored
|
void |
registerPermissionForRespository(IRepositoryManager aRepository,
String Permission)
add permission to Security manager
|
void |
removeCollaborationCollection(String path,
IResource res)
delete Collaboration folder of resource
|
String |
splitCollaborationID(String id)
Returns folder path of a collaboration resource for a given
collaboration id (GUID)
|
getDescription, getDescription, getID
boolean checkUserAnonymous(IResourceContext Context)
Context
- - IResourceContextboolean checkServiceUser(IResourceContext Context)
Context
- The ResourceContext to be checkedboolean isAdministrator(IResource resource, IResource collResource)
resource
- check this Resource (Context)collResource
- Resource in collaboration Repository (needed for Service permission)true
if user has Collaboration Administration Permission, false
otherwiseboolean isAdministratorMain(IResource resource)
resource
- check this Resource (Context)true
if user has Collaboration Administration Permission, false
otherwiseString getCollaborationID(IResource resource)
resource
- get GUID of BASE-Resource of this Collaboration ResourceRID getCollaborationID(String root, IResource resource) throws WcmException
resource
- get GUID of BASE-Resource of this Collaboration Resourceroot
- = root directory as e.g. discussionsWcmException
RID getDocumentGuid(String root, IResource resource) throws WcmException
root
- = root directory as e.g. discussionsresource
- = collaboration resource, e.g. a discussion itemWcmException
String splitCollaborationID(String id)
id
- GUID of a collaboration resourceString getPrefixCollaborationID(String id)
id
- GUID of a collaboration resourceboolean checkAuthor(IResource resource) throws WcmException
resource
- Resource to checkWcmException
String getPathID(String path, IResource res)
path
- to Collaboration-Service e.g. /collaboration/discussionres
- to be handledString checkcreatePathID(String path, IResource res)
path
- to Collaboration-Service e.g. /collaboration/discussionres
- to be handledString checkPathID(String path, IResource res)
path
- to Collaboration-Service e.g. /collaboration/discussionres
- to be handledString checkPathIDwithoutLink(String path, RID delRID, IResourceContext context)
path
- to Collaboration-Service e.g. /collaboration/discussiondelRID
- of resource to be handledcontext
- String getPathIDwithoutLink(String path, IResource res)
path
- to Collaboration-Service e.g. /collaboration/discussionres
- to be handledString checkPathIDwithoutLink(String path, IResource res)
path
- to Collaboration-Service e.g. /collaboration/discussionres
- to be handledString checkcreatePathID(String path, String id, IResourceContext context)
path
- to Collaboration-Service e.g. /collaboration/discussionid
- GUID to be handledcontext
- boolean createRootFolder(IResourceContext context, String path, String folder)
path
- to Collaboration-Repositoryfolder
- to be createdcontext
- IResource getOriginalResource(IResource res)
res
- to be checkedboolean checkResFolder(IResourceContext context, String path)
path
- to be checkedcontext
- void removeCollaborationCollection(String path, IResource res) throws WcmException
path
- to application (e.g. /collaboration/discussions)res
- WcmException
IResourceContext getServiceUserContext() throws WcmException
WcmException
void fillCache(IResource resource)
resource
- String getDisplayNameMain(IResource resource)
resource
- IResource getResourceMain(IResource resource)
resource
- void registerPermissionForRespository(IRepositoryManager aRepository, String Permission) throws WcmException
aRepository
- ManagerPermission
- String PermissionWcmException
void deleteSubpath(String path, IResource resource, IRidList ridList)
path
- to be Collaboration Applicationresource
- to be handledridList
- void deleteSubpath(String path, String constID)
path
- to be Collaboration ApplicationconstID
- of Main- ResourceIApplicationProperties getAppPropService(IResource resource)
resource
- to be handledIResource getCollaborationMainResource(IResource resource)
resource
- to be handledArrayList loadCollaborationConfiguration(boolean handleDiscussion, boolean handlePersnote, boolean handleComment, boolean handleFeedback) throws WcmException
handleDiscussion
- which service shall be handledhandlePersnote
- handleComment
- handleFeedback
- WcmException
RID doDeleteOrphanCollaborationFolders(ICollection coll) throws Exception
coll
- to be handledException
IResource getMainResource(IResource resource) throws Exception
resource
- to be handledException
boolean checkReadPermission(IResource resource) throws WcmException
resource
- to be handledWcmException
String getIceServiceUserID()
String getCollaborationServiceUserID()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice