public interface OXPublicationInterface
extends java.rmi.Remote
final OXPublicationInterface iface = (OXPublicationInterface)Naming.lookup("rmi:///oxhost/"+OXPublicationInterface.RMI_NAME);
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RMI_NAME
RMI name to be used in the naming lookup.
|
Modifier and Type | Method and Description |
---|---|
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
|
static final java.lang.String RMI_NAME
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 credentialsjava.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 identifierjava.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 namejava.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 identifierjava.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)
insteadOXException
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 identifierjava.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 identifierjava.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 identifierjava.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 namejava.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 credentialsjava.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