|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.client.gwt.service.policy.PolicyService
public class PolicyService
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
PolicyService(com.google.gwt.event.shared.HandlerManager eventBus)
|
|
| Method Summary | |
|---|---|
void |
applyPolicy(String url,
ApplyPolicy applyPolicy)
Applies a specified policy to an object. |
void |
getAllPolicies(String url,
String repositoryId,
boolean searchAllVersions,
boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Long maxItems,
Long skipCount)
Get all policies from repository. |
void |
getAppliedPolicies(String url,
String filter)
Gets the list of policies currently applied to the specified object. |
void |
removePolicy(String url,
RemovePolicy removePolicy)
Removes a specified policy from an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyService(com.google.gwt.event.shared.HandlerManager eventBus)
eventBus - eventBus| Method Detail |
|---|
public void applyPolicy(String url,
ApplyPolicy applyPolicy)
PolicyAppliedEvent event is fired
url - urlapplyPolicy - apply policy
public void removePolicy(String url,
RemovePolicy removePolicy)
PolicyRemovedEvent event is fired
url - urlremovePolicy - remove policy
public void getAppliedPolicies(String url,
String filter)
AppliedPoliciesReceivedEvent event is fired
url - urlfilter - filter
public void getAllPolicies(String url,
String repositoryId,
boolean searchAllVersions,
boolean includeAllowableActions,
EnumIncludeRelationships includeRelationships,
String renditionFilter,
Long maxItems,
Long skipCount)
AllPoliciesReceivedEvent event is fired
url - urlrepositoryId - repository idsearchAllVersions - search all versionsincludeAllowableActions - include allowable actionsincludeRelationships - include relationshipsrenditionFilter - rendition filtermaxItems - max itemsskipCount - skipCount
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||