|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryService
This is what the remote service will implement, as a servlet. (in hosted/debug mode, you could also use an implementation that was in-process).
Method Summary | |
---|---|
void |
cleanLog()
clean up the log entry. |
void |
clearRulesRepository()
Clear the rules repositoty, Use at your own risk. |
String |
createNewImportedRule(String sharedAssetName,
String initialPackage)
Creates a new rule which is imported from global area. |
String |
createNewRule(String ruleName,
String description,
String initialCategory,
String initialPackage,
String format)
Creates a brand new rule with the initial category. |
String |
createState(String name)
Create a state (status). |
void |
createUser(String userName)
create new user. |
void |
createWorkspace(String workspace)
This creates a workspace |
void |
deleteUncheckedRule(String ruleName)
Delete un checked in Asset |
void |
deleteUser(String userName)
Removes user security data. |
boolean |
doesAssetExistInPackage(String assetName,
String packageName)
Check whether an asset exists in a package |
String[] |
getCustomSelectors()
return custom selector names |
boolean |
isDoNotInstallSample()
|
Boolean |
isHostedMode()
|
List<String> |
listAvailablePermissionRoleTypes()
List the available permission types. |
String[] |
listAvailablePermissionTypes()
Deprecated. in favour of listAvailablePermissionRoleTypes() |
String[] |
listStates()
Returns a list of valid states. |
Map<String,List<String>> |
listUserPermissions()
Deprecated. in favour of listUserPermissions(PageRequest) |
PageResponse<PermissionsPageRow> |
listUserPermissions(PageRequest request)
|
String[] |
listWorkspaces()
This returns a list of workspaces |
String[] |
loadDropDownExpression(String[] valuePairs,
String expression)
|
PageResponse<InboxPageRow> |
loadInbox(InboxPageRequest request)
Load the data for a given inbox for the currently logged in user. |
TableDataResult |
loadInbox(String inboxName)
Deprecated. in favour of loadInbox(InboxPageRequest) |
PageResponse<StatePageRow> |
loadRuleListForState(StatePageRequest request)
Return a list of Assets by status |
TableDataResult |
loadRuleListForState(String state,
int skip,
int numRows,
String tableConfig)
Deprecated. in favour of loadRuleListForState(StatePageRequest) |
Map<String,String> |
loadSpringContextElementData()
Returns the Spring context elements specified by SpringContextElementsManager |
SuggestionCompletionEngine |
loadSuggestionCompletionEngine(String packageName)
Loads up the SuggestionCompletionEngine for the given package. |
TableConfig |
loadTableConfig(String listName)
Deprecated. in favour of AbstractPagedTable |
Map<String,String> |
loadWorkitemDefinitionElementData()
Returns the Workitem Definition elements specified by WorkitemDefinitionElementsManager |
String |
processTemplate(String name,
Map<String,Object> data)
Load and process the repository configuration templates. |
PageResponse<QueryPageRow> |
queryFullText(QueryPageRequest request)
Runs a full text search using JCR. |
TableDataResult |
queryMetaData(MetaDataQuery[] qr,
Date createdAfter,
Date createdBefore,
Date modifiedAfter,
Date modifiedBefore,
boolean seekArchived,
int skip,
int numRows)
Deprecated. in favour of queryMetaData(QueryPageRequest) |
PageResponse<QueryPageRow> |
queryMetaData(QueryMetadataPageRequest request)
Run a meta data search. |
void |
removeState(String name)
Removes a state. |
void |
removeWorkspace(String workspace)
This removes a workspace |
void |
renameState(String oldName,
String newName)
Renames a state. |
Map<String,List<String>> |
retrieveUserPermissions(String userName)
Loads the user permissions. |
void |
setDoNotInstallSample()
|
LogEntry[] |
showLog()
Deprecated. in favour of showLogEntries() |
PageResponse<LogPageRow> |
showLog(PageRequest request)
This will list log entries logged by the server. |
List<PushResponse> |
subscribe()
Subscribe for a "callback" for a given request. |
void |
updateUserPermissions(String userName,
Map<String,List<String>> perms)
Update the user permissions - takes the userName, and a map from permission type to the list of targets it applies to. |
void |
updateWorkspace(String workspace,
String[] selectedModules,
String[] unselectedModules)
This removes a workspace |
Method Detail |
---|
TableDataResult loadRuleListForState(String state, int skip, int numRows, String tableConfig) throws com.google.gwt.user.client.rpc.SerializationException
loadRuleListForState(StatePageRequest)
The
- name of the state.
com.google.gwt.user.client.rpc.SerializationException
PageResponse<StatePageRow> loadRuleListForState(StatePageRequest request) throws com.google.gwt.user.client.rpc.SerializationException
request
- Request specific details
com.google.gwt.user.client.rpc.SerializationException
TableConfig loadTableConfig(String listName)
AbstractPagedTable
listName
- The name of the list that we are going to render.String createNewRule(String ruleName, String description, String initialCategory, String initialPackage, String format) throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationException
boolean doesAssetExistInPackage(String assetName, String packageName) throws com.google.gwt.user.client.rpc.SerializationException
assetName
- packageName
-
com.google.gwt.user.client.rpc.SerializationException
String createNewImportedRule(String sharedAssetName, String initialPackage) throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationException
void deleteUncheckedRule(String ruleName)
void clearRulesRepository()
String[] listWorkspaces()
void createWorkspace(String workspace)
void removeWorkspace(String workspace)
void updateWorkspace(String workspace, String[] selectedModules, String[] unselectedModules)
String[] listStates() throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationException
String createState(String name) throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationException
void renameState(String oldName, String newName) throws com.google.gwt.user.client.rpc.SerializationException
oldName
- states old name.newName
- states new name.
com.google.gwt.user.client.rpc.SerializationException
void removeState(String name) throws com.google.gwt.user.client.rpc.SerializationException
name
- state name that will be removed.
com.google.gwt.user.client.rpc.SerializationException
SuggestionCompletionEngine loadSuggestionCompletionEngine(String packageName) throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationException
String[] getCustomSelectors() throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationException
LogEntry[] showLog()
showLogEntries()
PageResponse<LogPageRow> showLog(PageRequest request)
showLog()
which has
been deprecated in favour of DTO centric operations.
void cleanLog()
String[] loadDropDownExpression(String[] valuePairs, String expression)
valuePairs
- key=value pairs to be interpolated into the expression.expression
- The expression, which will then be eval'ed to generate a
String[]PageResponse<QueryPageRow> queryFullText(QueryPageRequest request) throws com.google.gwt.user.client.rpc.SerializationException
request
-
com.google.gwt.user.client.rpc.SerializationException
TableDataResult queryMetaData(MetaDataQuery[] qr, Date createdAfter, Date createdBefore, Date modifiedAfter, Date modifiedBefore, boolean seekArchived, int skip, int numRows) throws com.google.gwt.user.client.rpc.SerializationException
queryMetaData(QueryPageRequest)
qr
- createdAfter
- createdBefore
- modifiedAfter
- modifiedBefore
- seekArchived
- skip
- numRows
-
com.google.gwt.user.client.rpc.SerializationException
PageResponse<QueryPageRow> queryMetaData(QueryMetadataPageRequest request) throws com.google.gwt.user.client.rpc.SerializationException
request
-
com.google.gwt.user.client.rpc.SerializationException
Map<String,List<String>> listUserPermissions() throws DetailedSerializationException
listUserPermissions(PageRequest)
DetailedSerializationException
PageResponse<PermissionsPageRow> listUserPermissions(PageRequest request) throws DetailedSerializationException
DetailedSerializationException
Map<String,List<String>> retrieveUserPermissions(String userName)
userName
-
void updateUserPermissions(String userName, Map<String,List<String>> perms)
String[] listAvailablePermissionTypes()
listAvailablePermissionRoleTypes()
List<String> listAvailablePermissionRoleTypes()
boolean isDoNotInstallSample()
void setDoNotInstallSample()
void deleteUser(String userName)
void createUser(String userName)
List<PushResponse> subscribe()
TableDataResult loadInbox(String inboxName) throws DetailedSerializationException
loadInbox(InboxPageRequest)
DetailedSerializationException
String processTemplate(String name, Map<String,Object> data)
Boolean isHostedMode()
PageResponse<InboxPageRow> loadInbox(InboxPageRequest request) throws DetailedSerializationException
DetailedSerializationException
Map<String,String> loadSpringContextElementData() throws DetailedSerializationException
DetailedSerializationException
Map<String,String> loadWorkitemDefinitionElementData() throws DetailedSerializationException
DetailedSerializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |