|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This service is responsible for loading and saving PSML documents.
Field Summary | |
static java.lang.String |
SERVICE_NAME
The name of the service |
Method Summary | |
PSMLDocument |
createDocument(Profile profile)
Create a new document. |
int |
export(PsmlManagerService consumer,
QueryLocator locator)
Export profiles from this service into another service |
PSMLDocument |
getDocument(java.util.List locators)
Given a ordered list of locators, find the first document matching a profile locator, starting from the beginning of the list and working to the end. |
PSMLDocument |
getDocument(ProfileLocator locator)
Returns a PSML document for the given locator |
PSMLDocument |
getDocument(java.lang.String name)
Deprecated. |
java.util.Iterator |
query(QueryLocator locator)
Query for a collection of profiles given a profile locator criteria. |
PSMLDocument |
refresh(ProfileLocator locator)
Returns a PSML document for the given locator bypassing the cache (if applicable) |
void |
removeDocument(ProfileLocator locator)
Remove a document. |
void |
removeGroupDocuments(Group group)
Removes all documents for a given group. |
void |
removeRoleDocuments(Role role)
Removes all documents for a given role. |
void |
removeUserDocuments(JetspeedUser user)
Removes all documents for a given user. |
boolean |
saveDocument(PSMLDocument doc)
Deprecated. |
boolean |
saveDocument(java.lang.String fileOrUrl,
PSMLDocument doc)
Deprecated. |
boolean |
store(Profile profile)
Store the PSML document on disk, using its locator |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public PSMLDocument getDocument(java.lang.String name)
name
- the name of the document to retrievepublic PSMLDocument getDocument(ProfileLocator locator)
locator
- The locator descriptor of the document to be retrieved.public PSMLDocument getDocument(java.util.List locators)
public boolean store(Profile profile)
profile
- the profile locator description.
public boolean saveDocument(PSMLDocument doc)
doc
- the document to save
public boolean saveDocument(java.lang.String fileOrUrl, PSMLDocument doc)
fileOrUrl
- a String representing either an absolute URL
or an absolute filepathdoc
- the document to save
public PSMLDocument createDocument(Profile profile)
profile
- the profile to use
public void removeDocument(ProfileLocator locator)
locator
- The description of the profile to be removed.public void removeUserDocuments(JetspeedUser user)
user
- The user object.public void removeGroupDocuments(Group group)
group
- The group object.public void removeRoleDocuments(Role role)
role
- The role object.public java.util.Iterator query(QueryLocator locator)
locator
- The profile locator criteria.
public int export(PsmlManagerService consumer, QueryLocator locator)
consumer
- The PSML consumer service, receives PSML from this service.locator
- The profile locator criteria.
public PSMLDocument refresh(ProfileLocator locator)
locator
- The locator descriptor of the document to be retrieved.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |