public interface RemoteServiceInterface extends PublicInterface
| 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
|
void newRevision(Long poid, Long roid, Long soid, String serviceIdentifier, String profileIdentifier, String userToken, String token, String apiUrl) throws UserException, ServerException
poid - ProjectIDroid - RevisionIDsoid - ServiceID (optional)serviceIdentifier - profileIdentifier - userToken - token - apiUrl - UserExceptionServerExceptionvoid newExtendedDataOnProject(Long poid, Long edid, Long soid, String serviceIdentifier, String profileIdentifier, String userToken, String token, String apiUrl) throws UserException, ServerException
poid - ProjectIDedid - ExtendedDataIDsoid - ServiceID (optional)serviceIdentifier - profileIdentifier - userToken - token - apiUrl - UserExceptionServerExceptionvoid newExtendedDataOnRevision(Long poid, Long roid, Long edid, Long soid, String serviceIdentifier, String profileIdentifier, String userToken, String token, String apiUrl) throws UserException, ServerException
poid - roid - edid - soid - serviceIdentifier - profileIdentifier - userToken - token - apiUrl - UserExceptionServerExceptionList<SProfileDescriptor> getPublicProfiles(String serviceIdentifier) throws UserException, ServerException
serviceIdentifier - UserExceptionServerExceptionList<SProfileDescriptor> getPrivateProfiles(String serviceIdentifier, String token) throws UserException, ServerException
serviceIdentifier - A unique service identifier, defined by the remote servertoken - A token the remote server can use to identify the userUserExceptionServerExceptionSServiceDescriptor getService(String serviceIdentifier) throws UserException, ServerException
serviceIdentifier - Unique service identifierUserExceptionServerExceptionCopyright © 2018 OpenSource BIM. All rights reserved.