|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OXPublicationInterface
This interface defines methods for checking and deleting Publications by Users.
Example:
final OXPublicationInterface iface = (OXPublicationInterface)Naming.lookup("rmi:///oxhost/"+OXPublicationInterface.RMI_NAME);
Field Summary | |
---|---|
static java.lang.String |
RMI_NAME
RMI name to be used in the naming lookup. |
Method Summary | |
---|---|
Publication |
deletePublication(Context ctx,
Credentials credentials,
int publicationId)
Deletes the publication with the specified identifier |
Publication |
deletePublication(Context ctx,
Credentials credentials,
java.lang.String url)
Deletes a Publication |
boolean |
deletePublication(Context ctx,
java.lang.String url,
Credentials credentials)
Deprecated. Use OXPublicationInterface.deletePublication(Context ctx, Credentials credentials, String url) instead |
java.util.List<Publication> |
deletePublications(Context ctx,
Credentials credentials)
Deletes all publications in the specified context |
java.util.List<Publication> |
deletePublications(Context ctx,
Credentials credentials,
int user)
Deletes all Publications for the specified user |
java.util.List<Publication> |
deletePublications(Context ctx,
Credentials credentials,
int user,
java.lang.String module)
Delete all publications for the specified user in the specified context for the specified module |
java.util.List<Publication> |
deletePublications(Context ctx,
Credentials credentials,
java.lang.String entityId)
Delete all publications in the specified context with the specified entity identifier |
Publication |
getPublication(Context ctx,
java.lang.String url,
Credentials credentials)
Gets a Publication for a given URL |
java.util.List<Publication> |
listPublications(Context ctx,
Credentials credentials)
Lists all publications in the specified context |
java.util.List<Publication> |
listPublications(Context ctx,
Credentials credentials,
int user)
Lists all publications for the specified user in the specified context |
java.util.List<Publication> |
listPublications(Context ctx,
Credentials credentials,
int user,
java.lang.String module)
Lists all publications for the specified user in the specified context for the specified module |
java.util.List<Publication> |
listPublications(Context ctx,
Credentials credentials,
java.lang.String entityId)
List all publications in the specified context with the specified entity identifier |
Field Detail |
---|
static final java.lang.String RMI_NAME
Method Detail |
---|
Publication getPublication(Context ctx, java.lang.String url, Credentials credentials) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
OXException
NoSuchPublicationException
MissingServiceException
java.rmi.RemoteException
java.util.List<Publication> listPublications(Context ctx, Credentials credentials) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context administrative credentials
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
java.util.List<Publication> listPublications(Context ctx, Credentials credentials, java.lang.String entityId) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The credentialsentityId
- The entity identifier
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
java.util.List<Publication> listPublications(Context ctx, Credentials credentials, int user, java.lang.String module) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context's administrative credentialsuser
- The user identifiermodule
- The module name
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
java.util.List<Publication> listPublications(Context ctx, Credentials credentials, int user) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context's administrative credentialsuser
- The user identifier
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
boolean deletePublication(Context ctx, java.lang.String url, Credentials credentials) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
OXPublicationInterface.deletePublication(Context ctx, Credentials credentials, String url)
instead
OXException
NoSuchPublicationException
MissingServiceException
java.rmi.RemoteException
java.util.List<Publication> deletePublications(Context ctx, Credentials credentials, int user) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context's administrative credentialsuser
- The user identifier
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
Publication deletePublication(Context ctx, Credentials credentials, int publicationId) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context's administrative credentialspublicationId
- The publication identifier
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
java.util.List<Publication> deletePublications(Context ctx, Credentials credentials, java.lang.String entityId) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context's administrative credentialsentityId
- The entity identifier
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
java.util.List<Publication> deletePublications(Context ctx, Credentials credentials, int user, java.lang.String module) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context's administrative credentialsuser
- The user identifiermodule
- The module name
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
java.util.List<Publication> deletePublications(Context ctx, Credentials credentials) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
ctx
- The contextcredentials
- The context's administrative credentials
java.rmi.RemoteException
NoSuchPublicationException
MissingServiceException
Publication deletePublication(Context ctx, Credentials credentials, java.lang.String url) throws java.rmi.RemoteException, NoSuchPublicationException, MissingServiceException
OXException
NoSuchPublicationException
MissingServiceException
java.rmi.RemoteException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |