|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
SEARCH_BAD_ARGUMENT
|
static int |
SEARCH_DISABLED
|
static int |
SEARCH_ERROR
|
static int |
SEARCH_LIMIT_EXCEEDED
|
static int |
SEARCH_OK
|
static int |
SEARCHTYPE_BYUID
Deprecated. use SEARCHTYPE_EQUALS |
static int |
SEARCHTYPE_CONTAINS
search by contain name |
static int |
SEARCHTYPE_ENDSWITH
search by end with name |
static int |
SEARCHTYPE_EQUALS
equals |
static int |
SEARCHTYPE_STARTSWITH
search by start with name |
Method Summary | |
PersonalStoreEntry |
createEntry(CollaborationPrincipal principal,
java.lang.String entryType,
java.lang.String displayName)
creates a new entry on behalf of a specified user This method does not necessarily commit the entry to permanent storage. |
PersonalStoreEntry |
createEntry(java.lang.String entryType,
java.lang.String displayName)
creates a new entry This method does not necessarily commit the entry to permanent storage. |
java.util.Collection |
getEntries(java.lang.String entryType)
retrieves all entries of a specific type from the personal store note: this assumes there aren't too many folders in the personal store |
PersonalStoreEntry |
getEntry(CollaborationPrincipal principal,
java.lang.String EntryType,
java.lang.String entryId)
retrieves a personal store entry from its entry id |
PersonalStoreEntry |
getEntry(java.lang.String EntryType,
java.lang.String entryId)
retrieves a personal store entry from its entry id |
java.util.Collection |
getFolders(CollaborationPrincipal principal,
java.lang.String entryType)
retrieves all the folders in the personal store of a specified principal note: this assumes there aren't too many folders in the personal store |
java.util.Collection |
getFolders(java.lang.String entryType)
retrieves all the folders in the personal store note: this assumes there aren't too many folders in the personal store |
PersonalProfile |
getProfile()
get the profile info |
PersonalProfile |
getProfile(CollaborationPrincipal principal)
get the profile info |
void |
save()
Commit unsaved personal store changes to the server |
PersonalStoreEntry[] |
search(int searchType,
java.lang.String pattern,
java.lang.String entryType)
search directory for entry This method search the corporate directory for entries that can then be used to add as a PersonalContact to the PersonalStoreFolder. |
CollaborationPrincipal[] |
searchPrincipals(int searchType,
java.lang.String pattern)
search directory for entry This method search the corporate directory for entries that can then be used to add as a PersonalContact to the PersonalStoreFolder. |
Field Detail |
public static final int SEARCH_LIMIT_EXCEEDED
public static final int SEARCH_OK
public static final int SEARCH_BAD_ARGUMENT
public static final int SEARCH_DISABLED
public static final int SEARCH_ERROR
public static final int SEARCHTYPE_BYUID
public static final int SEARCHTYPE_CONTAINS
public static final int SEARCHTYPE_STARTSWITH
public static final int SEARCHTYPE_ENDSWITH
public static final int SEARCHTYPE_EQUALS
Method Detail |
public PersonalStoreEntry getEntry(java.lang.String EntryType, java.lang.String entryId) throws CollaborationException
entryId
- entry's unique id
CollaborationException
public PersonalStoreEntry getEntry(CollaborationPrincipal principal, java.lang.String EntryType, java.lang.String entryId) throws CollaborationException
entryId
- entry's unique idprincipal
- owner of the personal store to query
CollaborationException
public java.util.Collection getFolders(java.lang.String entryType) throws CollaborationException
note: retrieves only the folders, not the entries.
CollaborationException
public java.util.Collection getEntries(java.lang.String entryType) throws CollaborationException
note: retrieves only the folders, not the entries.
CollaborationException
public java.util.Collection getFolders(CollaborationPrincipal principal, java.lang.String entryType) throws CollaborationException
note: retrieves only the folders, not the entries.
principal
- owner of the personal store to query
CollaborationException
public PersonalStoreEntry createEntry(java.lang.String entryType, java.lang.String displayName) throws CollaborationException
entryType
- type of entry as defined in PersonalStoreEntryType
CollaborationException
public PersonalStoreEntry createEntry(CollaborationPrincipal principal, java.lang.String entryType, java.lang.String displayName) throws CollaborationException
principal
- owner ofd the personal store in which to add the
new entryentryType
- type of entry as defined in PersonalStoreEntryType
CollaborationException
public CollaborationPrincipal[] searchPrincipals(int searchType, java.lang.String pattern) throws CollaborationException
searchType
- type of search to perform
CollaborationException
public PersonalStoreEntry[] search(int searchType, java.lang.String pattern, java.lang.String entryType) throws CollaborationException
searchType
- type of search to perform
CollaborationException
public PersonalProfile getProfile() throws CollaborationException
CollaborationException
public PersonalProfile getProfile(CollaborationPrincipal principal) throws CollaborationException
principal
- owner of the personal store to query
CollaborationException
public void save() throws CollaborationException
CollaborationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |