|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.services.PsmlManager
Static accessor for the PsmlManagerService
Constructor Summary | |
PsmlManager()
|
Method Summary | |
static PSMLDocument |
createDocument(Profile profile)
Create a new document. |
int |
export(PsmlManagerService consumer,
QueryLocator locator)
Export profiles from this service into another service |
static 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. |
static PSMLDocument |
getDocument(ProfileLocator locator)
Returns a PSML document for the given locator |
static PSMLDocument |
getDocument(java.lang.String name)
Deprecated. |
static PsmlManagerService |
getService()
Commodity method for getting a reference to the service singleton |
static java.util.Iterator |
query(QueryLocator locator)
Query for a collection of profiles given a profile locator criteria. |
static PSMLDocument |
refresh(ProfileLocator locator)
Refreshes a PSML document for the given locator |
static void |
removeDocument(ProfileLocator locator)
Removes a document. |
static void |
removeGroupDocuments(Group group)
Removes all documents for a given group. |
static void |
removeRoleDocuments(Role role)
Removes all documents for a given role. |
static void |
removeUserDocuments(JetspeedUser user)
Removes all documents for a given user. |
static boolean |
saveDocument(PSMLDocument doc)
Deprecated. |
static boolean |
saveDocument(java.lang.String fileOrUrl,
PSMLDocument doc)
Deprecated. |
static boolean |
store(Profile profile)
Store the PSML document on disk, using its locator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PsmlManager()
Method Detail |
public static PsmlManagerService getService()
public static PSMLDocument getDocument(java.lang.String name)
name
- the name of the document to retrievepublic static PSMLDocument getDocument(ProfileLocator locator)
locator
- The locator descriptor of the document to be retrieved.public static PSMLDocument getDocument(java.util.List locators)
public static boolean store(Profile profile)
profile
- the profile locator description.
public static boolean saveDocument(PSMLDocument doc)
doc
- the document to savepublic static boolean saveDocument(java.lang.String fileOrUrl, PSMLDocument doc)
fileOrUrl
- a String representing either an absolute URL
or an absolute filepathdoc
- the document to savepublic static PSMLDocument createDocument(Profile profile)
profile
- The description and default value for the new document.
public static void removeDocument(ProfileLocator locator)
locator
- The description of the profile resource to be removed.public static void removeUserDocuments(JetspeedUser user)
user
- The user object.public static void removeGroupDocuments(Group group)
group
- The group object.public static void removeRoleDocuments(Role role)
role
- The role object.public static 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 static 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 |