|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.activities.ActivityPostServiceImpl
public class ActivityPostServiceImpl
Activity Post Service Implementation
Constructor Summary | |
---|---|
ActivityPostServiceImpl()
|
Method Summary | |
---|---|
void |
postActivity(java.lang.String activityType,
java.lang.String siteId,
java.lang.String appTool,
NodeRef nodeRef)
Post a pre-defined activity type - certain activity data will be looked-up asynchronously, including: name (of nodeRef) displayPath typeQName firstName (of posting user) lastName (of posting user) |
void |
postActivity(java.lang.String activityType,
java.lang.String siteId,
java.lang.String appTool,
NodeRef nodeRef,
java.lang.String name)
Post a pre-defined activity type - eg. |
void |
postActivity(java.lang.String activityType,
java.lang.String siteId,
java.lang.String appTool,
NodeRef nodeRef,
java.lang.String name,
QName typeQName,
NodeRef parentNodeRef)
Post a pre-defined activity type - eg. |
void |
postActivity(java.lang.String activityType,
java.lang.String siteId,
java.lang.String appTool,
java.lang.String activityData)
Post a custom activity type |
void |
setEstimatedGridSize(int estGridSize)
|
void |
setPostDAO(ActivityPostDAO postDAO)
|
void |
setTenantService(TenantService tenantService)
|
void |
setUserNamesAreCaseSensitive(boolean userNamesAreCaseSensitive)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivityPostServiceImpl()
Method Detail |
---|
public void setUserNamesAreCaseSensitive(boolean userNamesAreCaseSensitive)
public void setPostDAO(ActivityPostDAO postDAO)
public void setTenantService(TenantService tenantService)
public void setEstimatedGridSize(int estGridSize)
public void postActivity(java.lang.String activityType, java.lang.String siteId, java.lang.String appTool, java.lang.String activityData)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringactivityData
- - requiredpublic void postActivity(java.lang.String activityType, java.lang.String siteId, java.lang.String appTool, NodeRef nodeRef)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringnodeRef
- - required - do not use for deleted (or about to be deleted) nodeRefpublic void postActivity(java.lang.String activityType, java.lang.String siteId, java.lang.String appTool, NodeRef nodeRef, java.lang.String name)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringnodeRef
- - required - do not use deleted (or about to be deleted) nodeRefname
- - optional - name of node (eg. prior to name change)public void postActivity(java.lang.String activityType, java.lang.String siteId, java.lang.String appTool, NodeRef nodeRef, java.lang.String name, QName typeQName, NodeRef parentNodeRef)
ActivityPostService
postActivity
in interface ActivityPostService
activityType
- - requiredsiteId
- - optional, if null will be stored as empty stringappTool
- - optional, if null will be stored as empty stringnodeRef
- - required - can be a deleted (or about to be deleted) nodeRefname
- - optional - name of nametypeQName
- - optional - type of nodeparentNodeRef
- - required - used to lookup path/displayPath
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |