public class RemoteServiceInterfaceAdaptor extends Object implements RemoteServiceInterface
| Constructor and Description |
|---|
RemoteServiceInterfaceAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
List<SProfileDescriptor> |
getPrivateProfiles(String serviceIdentifier,
String token)
A remote server should be able to provide a list of profiles
|
List<SProfileDescriptor> |
getPublicProfiles(String serviceIdentifier)
A remote server should be able to provide a list of profiles.
|
SServiceDescriptor |
getService(String serviceIdentifier)
Should return a description of a certain service
|
void |
newExtendedDataOnProject(Long poid,
Long edid,
Long soid,
String serviceIdentifier,
String profileIdentifier,
String userToken,
String token,
String apiUrl)
This method gets called when new extended data has been added to a project
|
void |
newExtendedDataOnRevision(Long poid,
Long roid,
Long edid,
Long soid,
String serviceIdentifier,
String profileIdentifier,
String userToken,
String token,
String apiUrl)
This method gets called when new extended data has been added to a revision
|
void |
newRevision(Long poid,
Long roid,
Long soid,
String serviceIdentifier,
String profileIdentifier,
String userToken,
String token,
String apiUrl)
This method gets called when a new revision has been created
|
public List<SProfileDescriptor> getPrivateProfiles(String serviceIdentifier, String token) throws UserException, ServerException
RemoteServiceInterfacegetPrivateProfiles in interface RemoteServiceInterfaceserviceIdentifier - A unique service identifier, defined by the remote servertoken - A token the remote server can use to identify the userUserExceptionServerExceptionpublic List<SProfileDescriptor> getPublicProfiles(String serviceIdentifier) throws UserException, ServerException
RemoteServiceInterfacegetPublicProfiles in interface RemoteServiceInterfaceUserExceptionServerExceptionpublic SServiceDescriptor getService(String serviceIdentifier) throws UserException, ServerException
RemoteServiceInterfacegetService in interface RemoteServiceInterfaceserviceIdentifier - Unique service identifierUserExceptionServerExceptionpublic void newExtendedDataOnProject(Long poid, Long edid, Long soid, String serviceIdentifier, String profileIdentifier, String userToken, String token, String apiUrl) throws UserException, ServerException
RemoteServiceInterfacenewExtendedDataOnProject in interface RemoteServiceInterfacepoid - ProjectIDedid - ExtendedDataIDsoid - ServiceID (optional)UserExceptionServerExceptionpublic void newExtendedDataOnRevision(Long poid, Long roid, Long edid, Long soid, String serviceIdentifier, String profileIdentifier, String userToken, String token, String apiUrl) throws UserException, ServerException
RemoteServiceInterfacenewExtendedDataOnRevision in interface RemoteServiceInterfaceUserExceptionServerExceptionpublic void newRevision(Long poid, Long roid, Long soid, String serviceIdentifier, String profileIdentifier, String userToken, String token, String apiUrl) throws UserException, ServerException
RemoteServiceInterfacenewRevision in interface RemoteServiceInterfacepoid - ProjectIDroid - RevisionIDsoid - ServiceID (optional)UserExceptionServerExceptionCopyright © 2018 OpenSource BIM. All rights reserved.