public class TCLFacade
extends java.lang.Object
TSLFacade
.Modifier and Type | Class and Description |
---|---|
static interface |
TCLFacade.InputStreamProvider |
Modifier and Type | Field and Description |
---|---|
static int |
BOTTOM
// * Vertical alignment
|
static int |
CENTER
Horizontal alignment
|
static java.lang.String |
clientVersion |
static java.lang.String |
ISO_DATE_FORMAT
ISO date format used to send date over web-service.
|
static java.lang.String |
ISO_DATE_TIME_FORMAT
ISO date time format used to send date-time over web-service.
|
static int |
LEFT
Horizontal alignment
|
static int |
MIDDLE
Vertical alignment
|
static int |
RIGHT
Horizontal alignment
|
static java.lang.String |
STATUS_DB_EXCEPTION
This status is returned when a database exception occurs.
|
static java.lang.String |
STATUS_LOGIC_EXCEPTION
This status is returned when a business logic exception is thrown.
|
static java.lang.String |
STATUS_OK |
static java.lang.String |
STATUS_VALIDATION_EXCEPTION
This status is returned when some data are not valid.
|
static long |
TIME_OUT_MILISECONDS |
static int |
TOP
Vertical alignment constant for top.
|
Constructor and Description |
---|
TCLFacade(java.lang.String endpoint)
The constructor.
|
TCLFacade(java.lang.String endpoint,
java.lang.String proxyName,
int proxyPort)
The constructor.
|
TCLFacade(java.lang.String endpoint,
java.lang.String proxyName,
int proxyPort,
java.lang.String proxyUser,
java.lang.String proxyPasswd)
The constructor.
|
TCLFacade(java.lang.String endpoint,
java.lang.String proxyName,
int proxyPort,
java.lang.String proxyUser,
java.lang.String proxyPasswd,
java.lang.String cbaUser,
java.lang.String cbaPassword)
The constructor.
|
TCLFacade(java.lang.String endpoint,
java.lang.String cbaUser,
java.lang.String cbaPassword)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addListOptions(WSListOptionBean[] options) |
void |
addPersonsToGroup(java.lang.String groupID,
java.lang.String[] personIDs)
Add person(s) to a group.
|
void |
addRoleAssignment(WSRoleAssignmentEditBean roleAssignmentEditBean)
Add a role assignment using a role assignment editable bean.
|
void |
archiveItem(java.lang.String itemID) |
void |
changeItemStatus(WSItemBean itemBean) |
boolean |
checkVersion()
It is assumed that the interface evolves over time.
|
WSListOptionBean[] |
clearListOptions(java.lang.String listID) |
java.lang.String |
copyItem(java.lang.String itemID,
boolean deepCopy)
Create a copy of an item.
|
void |
deleteAttachment(WSAttachmentBean attachmentBean)
Delete an attachment.
|
void |
deleteComments(java.lang.String itemID,
java.lang.String[] commentIDs)
Delete comments for an item.
|
void |
deleteGroup(java.lang.String groupID)
delete a group by id
|
void |
deleteItemLinks(java.lang.String itemID,
java.lang.String[] itemLinkIDs)
Delete links for an item.
|
void |
deleteList(java.lang.String listID) |
void |
deletePerson(java.lang.String personID)
delete a person by id
|
void |
deleteProject(java.lang.String projectID) |
void |
deletItem(java.lang.String itemID) |
void |
deletListOption(java.lang.String optionID) |
java.io.InputStream |
downloadAttachment(WSAttachmentBean attach)
Download an attachment.
|
void |
editComment(WSCommentEdit comment)
Create/modify a comment
|
WSQueryResultItemBean[] |
executeCustomQuery(WSQueryConfigBean reportConfigBean)
Execute a custom query.
|
WSQueryResultItemBean[] |
executeQuery(java.lang.String queryID)
Execute the query with the given query identifier.
|
WSGroupBean[] |
getAllGroups() |
WSPersonBean[] |
getAllPersons()
Get all persons.
|
WSLabelValueBean[] |
getAllProjects()
Get all projects in the system.
|
WSLabelValueBean[] |
getAllRoles()
Get all roles
|
WSRoleAssignmentBean[] |
getAssignmentRolesByProject(java.lang.String projectID)
Get all assigned roles for a workspace/project.
|
WSRoleAssignmentBean[] |
getAssignmentRolesByProjectName(java.lang.String projectName) |
WSBaseOptionsContainer |
getBaseOptionsContainer()
Gets the BaseDropDown container:
contains all projects, item types, priorities, statuses.
|
WSEditItemContextBean |
getChangeStatusItemContext(java.lang.String itemID)
Obtain the change status item context.
|
WSFormBean |
getChangeStatusItemForm(java.lang.String projectID,
java.lang.String issueTypeID)
Obtain the ChangeStatus item form.
|
WSCommentEdit[] |
getComments(java.lang.String itemID)
Obtain a list of comments for a specific item.
|
WSField[] |
getCustomFields()
Obtain all custom fields defined.
|
WSDisplayItemBean |
getDisplayItem(java.lang.String itemID)
Obtain an item and the display values for fields.
|
WSGroupEditBean |
getEditGroup(java.lang.String groupID) |
WSEditItemContextBean |
getEditItemContext(java.lang.String itemID)
Obtain the edit item context.
|
WSFormBean |
getEditItemForm(java.lang.String projectID,
java.lang.String issueTypeID)
Obtain the edit form (input mask definition).
|
WSPersonEditBean |
getEditPerson(java.lang.String personID) |
WSPersonEditBean |
getEditPersonByLoginName(java.lang.String loginName) |
WSPersonEditWithContext |
getEditPersonWithContext(java.lang.String personID) |
WSPersonEditWithContext |
getEditPersonWithContextByLoginName(java.lang.String loginName) |
WSProjectEditBean |
getEditProject(java.lang.String projectID) |
WSProjectEditBean |
getEditProjectByName(java.lang.String projectName) |
WSProjectEditWithContext |
getEditProjectWithContext(java.lang.String projectID) |
WSProjectEditWithContext |
getEditProjectWithContextByName(java.lang.String projectName) |
WSListBean[] |
getGlobalLists() |
java.lang.String |
getInterFaceVersion()
Get the version of this client interface.
|
WSLabelValueBean[] |
getIssueTypes(java.lang.String projectID)
Get all item types for a given project.
|
WSItemBean |
getItem(java.lang.String itemID)
This method fetches a specific item defined by its
object id from the database.
|
WSItemContextBean |
getItemContext(java.lang.String itemID)
Obtain the item context of a single item.
|
WSItemContextBean[] |
getItemContexts(java.lang.String[] itemIDs)
This method retrieves the context of items (related field and option values)
Example
For an example see ItemSample |
WSItemHistoryBean |
getItemHistory(java.lang.String itemID)
This method fetches the history for a specific item defined by its
object id from the database.
|
WSItemLinkBean |
getItemLink(java.lang.String workItemID,
java.lang.String itemLinkID)
Get a link for the given id
|
WSItemLinkBean[] |
getItemLinks(java.lang.String itemID)
Obtain a list of links for a specific item.
|
WSParameter[] |
getLinkTpeParameters(java.lang.String linkTypeID)
Get parameters definition for link type
|
WSOptionBean[] |
getLinkTypes()
Get all link types.
|
WSListOptionBean[] |
getListOptions(java.lang.String listID) |
WSListOptionBean[] |
getListOptionsByParent(java.lang.String parentID) |
WSEditItemContextBean |
getMoveItemContext(java.lang.String itemID,
java.lang.String projectID,
java.lang.String issueTypeID)
Obtain the context when moving an item to another project and item type.
|
WSFormBean |
getMoveItemForm(java.lang.String projectID,
java.lang.String issueTypeID)
Obtain the form (input mask) for moving an item.
|
WSEditItemContextBean |
getNewItemChildContext(java.lang.String projectID,
java.lang.String issueTypeID,
java.lang.String parentID)
Obtain the context (option values) when creating a child item.
|
WSFormBean |
getNewItemChildForm(java.lang.String projectID,
java.lang.String issueTypeID)
Obtain the new child item form (input mask when creating a child item).
|
WSEditItemContextBean |
getNewItemContext(java.lang.String projectID,
java.lang.String issueTypeID)
Obtain the context (option values) when creating an item.
|
WSFormBean |
getNewItemForm(java.lang.String projectID,
java.lang.String issueTypeID)
Obtain the new item form (input mask when creating an item).
|
WSPersonEditWithContext |
getNewPersonWithContext() |
WSProjectEditWithContext |
getNewProjectWithContext() |
WSPersonBean[] |
getPersonsForGroup(java.lang.String groupID)
Get persons in the group
|
WSListBean[] |
getProjectLists(java.lang.String projectID) |
WSLabelValueBean[] |
getProjects()
Get projects this user has access to.
|
WSTreeNode[] |
getProjectsAsTree()
Get all projects as tree this user has access to.
|
WSTreeNode[] |
getProjectsWithCreateItemRightForItemType(java.lang.String issueTypeID)
Get all projects as tree this user has access to.
|
WSTreeNode[] |
getQueries()
Get the nodes for a filter- (item or automail) or for reports-picker.
|
java.lang.String[] |
getServerVersionAndCompatible()
Get the server version and all compatible client versions.
|
WSLabelValueBean[] |
getUsedProjects()
Get used projects this user has access to.
|
boolean |
isLoggedIn()
This method returns the current login status.
|
WSListBean |
loadList(java.lang.String listID) |
WSQueryConfigBean |
loadQueryConfigBean(WSQueryConfigBean reportConfigBean,
boolean firstTime)
Each query filter is made up of a number of elements, for example
which statuses shall be passed through the filter.
|
WSPersonBean |
login(WSLogonBean logonBean)
This method is used to log in the client with the user specific data
stored in the
WSLogonBean (mainly user name and password). |
boolean |
logoff()
This method is used to log off the user from the Track+ server
Example
LoginSample |
void |
moveItem(WSItemBean itemBean)
Move this item to another item type or workspace/project.
|
boolean |
reconnect()
Reconnect with the server.
|
void |
removePersonsFromGroup(java.lang.String groupID,
java.lang.String[] personIDs)
Remove person(s) from a group.
|
void |
removeRoleAssignment(WSRoleAssignmentEditBean roleAssignmentEditBean)
Remove a role assignment.
|
void |
replaceAndDeleteGroup(java.lang.String groupID,
java.lang.String newGroupID)
Delete a group and replace with othe one
|
void |
replaceAndDeletePerson(java.lang.String personID,
java.lang.String newPersonID)
delete a person and replace all dependences with other person
|
WSAttachmentBean |
saveAttachment(WSAttachmentBean attach)
Save an attachment.
|
WSAttachmentBean |
saveAttachment(WSAttachmentBean attach,
TCLFacade.InputStreamProvider is)
Save an attachment from inputStream.
|
java.lang.String |
saveGroup(WSGroupEditBean groupEdit)
save a group
|
java.lang.String |
saveItem(WSItemBean itemBean)
This method makes the itemBean persistent (saves it to the database).
|
java.lang.String |
saveItemLink(java.lang.String workItemID,
WSItemLinkBean itemLinkBean)
Create/modify a item link
|
java.lang.String |
saveList(WSListBean listBean) |
java.lang.String |
saveListOption(WSListOptionBean option) |
java.lang.String |
savePerson(WSPersonEditBean personEdit)
save a person
|
java.lang.String |
saveProject(WSProjectEditBean projectEditBean) |
void |
unarchiveItem(java.lang.String itemID) |
void |
undeleteItem(java.lang.String itemID) |
public static final java.lang.String STATUS_OK
public static final java.lang.String STATUS_DB_EXCEPTION
public static final java.lang.String STATUS_LOGIC_EXCEPTION
public static final java.lang.String STATUS_VALIDATION_EXCEPTION
public static final java.lang.String ISO_DATE_TIME_FORMAT
public static final java.lang.String ISO_DATE_FORMAT
public static final int TOP
public static final int BOTTOM
public static final int MIDDLE
public static final int LEFT
public static final int RIGHT
public static final int CENTER
public static final java.lang.String clientVersion
public static final long TIME_OUT_MILISECONDS
public TCLFacade(java.lang.String endpoint) throws java.rmi.RemoteException, TCLFacadeException
endpoint
- like http://www.yourdomain.com/track/services/TrackplusService
java.rmi.RemoteException
TCLFacadeException
public TCLFacade(java.lang.String endpoint, java.lang.String cbaUser, java.lang.String cbaPassword) throws java.rmi.RemoteException, TCLFacadeException
endpoint
- like http://www.yourdomain.com/track/services/TrackplusService
cbaUser
- the container base authentication user namecbaPassword
- the container base authentication user passwordjava.rmi.RemoteException
TCLFacadeException
public TCLFacade(java.lang.String endpoint, java.lang.String proxyName, int proxyPort) throws java.rmi.RemoteException, TCLFacadeException
endpoint
- like http://www.yourdomain.com/track
proxyName
- proxyPort
- java.rmi.RemoteException
TCLFacadeException
public TCLFacade(java.lang.String endpoint, java.lang.String proxyName, int proxyPort, java.lang.String proxyUser, java.lang.String proxyPasswd) throws java.rmi.RemoteException, TCLFacadeException
endpoint
- like http://www.yourdomain.com/track
proxyName
- proxyPort
- proxyUser
- proxyPasswd
- java.rmi.RemoteException
TCLFacadeException
public TCLFacade(java.lang.String endpoint, java.lang.String proxyName, int proxyPort, java.lang.String proxyUser, java.lang.String proxyPasswd, java.lang.String cbaUser, java.lang.String cbaPassword) throws java.rmi.RemoteException, TCLFacadeException
endpoint
- like http://www.yourdomain.com/track
proxyName
- proxyPort
- proxyUser
- proxyPasswd
- java.rmi.RemoteException
TCLFacadeException
public WSPersonBean login(WSLogonBean logonBean) throws java.rmi.RemoteException, TCLFacadeException
WSLogonBean
(mainly user name and password). The
return value is a WSResponsePerson
which provides all user specific
data, such as last name, first name, preferred locale and so on.
ExampleLoginSample
logonBean
- contains user name and passwordjava.rmi.RemoteException
- in case of connection problemsTCLFacadeException
- in case there are business logic exceptions on the serverpublic boolean logoff() throws java.rmi.RemoteException, TCLFacadeException
LoginSample
java.rmi.RemoteException
TCLFacadeException
public boolean isLoggedIn() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public boolean reconnect() throws java.rmi.RemoteException, TCLFacadeException
WSLogonBean
for user name
and password.java.rmi.RemoteException
TCLFacadeException
public boolean checkVersion() throws TCLFacadeException, java.rmi.RemoteException
LoginSample
java.rmi.RemoteException
TCLFacadeException
public java.lang.String[] getServerVersionAndCompatible() throws java.rmi.RemoteException, TCLFacadeException
LoginSample
java.rmi.RemoteException
TCLFacadeException
public java.lang.String getInterFaceVersion()
public WSTreeNode[] getQueries() throws java.rmi.RemoteException, TCLFacadeException
The format of the nodeIDs for folders (projects and categories) are the same as for the non picker version but the leafs are integers.
A picker will return an integer (instead of a complicated nodeID, but for
folders the IDs can't be integers because that would cause nodes with possibly
duplicated IDs).
Example
For an example see QuerySample
WSTreeNode
a tree with folders and/or queries.java.rmi.RemoteException
TCLFacadeException
public WSQueryResultItemBean[] executeQuery(java.lang.String queryID) throws java.rmi.RemoteException, TCLFacadeException
QuerySample
queryID
- id of the queryWSQueryResultItemBean
[] list of itemsjava.rmi.RemoteException
TCLFacadeException
public WSQueryResultItemBean[] executeCustomQuery(WSQueryConfigBean reportConfigBean) throws TCLFacadeException, java.rmi.RemoteException
QuerySample
reportConfigBean
- the query definition bean for this queryWSQueryResultItemBean
objectsTCLFacadeException
java.rmi.RemoteException
public WSQueryConfigBean loadQueryConfigBean(WSQueryConfigBean reportConfigBean, boolean firstTime) throws java.rmi.RemoteException, TCLFacadeException
Each query filter is made up of a number of elements, for example which statuses shall be passed through the filter. All elements are assembled in a report configuration bean, thus the report configuration bean makes up the query filter.
This method takes a report configuration bean as a parameter where one can set the project(s). The report configuration bean returned will contain all possible options for this project pre-selection, similar to when the user selects a project or release at the user interface.
ExampleQuerySample
reportConfigBean
- here we set the project.firstTime
- if firstTime is true select the firstProjectjava.rmi.RemoteException
TCLFacadeException
public java.lang.String saveItem(WSItemBean itemBean) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
itemBean
- the item bean to be saved in the databasejava.rmi.RemoteException
TCLFacadeException
public java.lang.String copyItem(java.lang.String itemID, boolean deepCopy) throws java.rmi.RemoteException, TCLFacadeException
deepCopy
is true,
all history data is copied as well.itemID
- the object id of the item to be copieddeepCopy
- java.rmi.RemoteException
TCLFacadeException
public void moveItem(WSItemBean itemBean) throws java.rmi.RemoteException, TCLFacadeException
itemBean
- the item to be moved containing the new values for workspace and/or item typejava.rmi.RemoteException
TCLFacadeException
public void changeItemStatus(WSItemBean itemBean) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void archiveItem(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void unarchiveItem(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void deletItem(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void undeleteItem(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSItemBean getItem(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
itemID
- the object id of the item to be fetched from the database.WSItemBean
java.rmi.RemoteException
TCLFacadeException
public WSItemHistoryBean getItemHistory(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
itemID
- the object id of the item to be fetched from the database.WSItemHistoryBean
java.rmi.RemoteException
TCLFacadeException
public WSItemContextBean[] getItemContexts(java.lang.String[] itemIDs) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
itemIDs
- the object ids of the items to be fetched from the database.java.rmi.RemoteException
TCLFacadeException
public WSDisplayItemBean getDisplayItem(java.lang.String itemID) throws TCLFacadeException, java.rmi.RemoteException
ItemSample
itemID
- the id of the itemjava.rmi.RemoteException
TCLFacadeException
public WSItemContextBean getItemContext(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
itemID
- the id of the itemjava.rmi.RemoteException
TCLFacadeException
public WSEditItemContextBean getEditItemContext(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
itemID
- the id of the itemjava.rmi.RemoteException
TCLFacadeException
public WSFormBean getEditItemForm(java.lang.String projectID, java.lang.String issueTypeID) throws TCLFacadeException, java.rmi.RemoteException
FormSample
projectID
- the object id of the workspace/projectissueTypeID
- the item type idTCLFacadeException
java.rmi.RemoteException
public WSEditItemContextBean getNewItemContext(java.lang.String projectID, java.lang.String issueTypeID) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
projectID
- the object id of the workspace/projectissueTypeID
- the item type idjava.rmi.RemoteException
TCLFacadeException
public WSFormBean getNewItemForm(java.lang.String projectID, java.lang.String issueTypeID) throws TCLFacadeException, java.rmi.RemoteException
FormSample
projectID
- the object id of the workspace/projectissueTypeID
- the item type idTCLFacadeException
java.rmi.RemoteException
public WSEditItemContextBean getNewItemChildContext(java.lang.String projectID, java.lang.String issueTypeID, java.lang.String parentID) throws java.rmi.RemoteException, TCLFacadeException
ItemSample
projectID
- the object id of the workspace/projectissueTypeID
- the item type idjava.rmi.RemoteException
TCLFacadeException
public WSFormBean getNewItemChildForm(java.lang.String projectID, java.lang.String issueTypeID) throws TCLFacadeException, java.rmi.RemoteException
FormSample
projectID
- the object id of the workspace/projectissueTypeID
- the item type idTCLFacadeException
java.rmi.RemoteException
public WSEditItemContextBean getMoveItemContext(java.lang.String itemID, java.lang.String projectID, java.lang.String issueTypeID) throws java.rmi.RemoteException, TCLFacadeException
itemID
- projectID
- the object id of the workspace/projectissueTypeID
- the item type idjava.rmi.RemoteException
TCLFacadeException
public WSFormBean getMoveItemForm(java.lang.String projectID, java.lang.String issueTypeID) throws TCLFacadeException, java.rmi.RemoteException
projectID
- the object id of the workspace/projectissueTypeID
- the item type idTCLFacadeException
java.rmi.RemoteException
public WSEditItemContextBean getChangeStatusItemContext(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
itemID
- the id of the itemjava.rmi.RemoteException
TCLFacadeException
public WSFormBean getChangeStatusItemForm(java.lang.String projectID, java.lang.String issueTypeID) throws TCLFacadeException, java.rmi.RemoteException
projectID
- the object id of the workspace/projectissueTypeID
- the item type idTCLFacadeException
java.rmi.RemoteException
public WSLabelValueBean[] getProjects() throws java.rmi.RemoteException, TCLFacadeException
BaseOptionSample
.ItemSample
java.rmi.RemoteException
TCLFacadeException
public WSLabelValueBean[] getAllProjects() throws java.rmi.RemoteException, TCLFacadeException
BaseOptionSample
.ItemSample
java.rmi.RemoteException
TCLFacadeException
public WSLabelValueBean[] getUsedProjects() throws java.rmi.RemoteException, TCLFacadeException
BaseOptionSample
.ItemSample
java.rmi.RemoteException
TCLFacadeException
public WSTreeNode[] getProjectsAsTree() throws java.rmi.RemoteException, TCLFacadeException
BaseOptionSample
.ItemSample
java.rmi.RemoteException
TCLFacadeException
public WSProjectEditWithContext getNewProjectWithContext() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSProjectEditBean getEditProject(java.lang.String projectID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSProjectEditBean getEditProjectByName(java.lang.String projectName) throws java.rmi.RemoteException, TCLFacadeException
projectName
- java.rmi.RemoteException
TCLFacadeException
public WSProjectEditWithContext getEditProjectWithContext(java.lang.String projectID) throws java.rmi.RemoteException, TCLFacadeException
projectID
- the object id of the workspace/projectjava.rmi.RemoteException
TCLFacadeException
public WSProjectEditWithContext getEditProjectWithContextByName(java.lang.String projectName) throws java.rmi.RemoteException, TCLFacadeException
projectName
- java.rmi.RemoteException
TCLFacadeException
public java.lang.String saveProject(WSProjectEditBean projectEditBean) throws java.rmi.RemoteException, TCLFacadeException
projectEditBean
- java.rmi.RemoteException
TCLFacadeException
public void deleteProject(java.lang.String projectID) throws java.rmi.RemoteException, TCLFacadeException
projectID
- the object id of the workspace/projectjava.rmi.RemoteException
TCLFacadeException
public WSTreeNode[] getProjectsWithCreateItemRightForItemType(java.lang.String issueTypeID) throws java.rmi.RemoteException, TCLFacadeException
BaseOptionSample
.ItemSample
java.rmi.RemoteException
TCLFacadeException
public WSLabelValueBean[] getIssueTypes(java.lang.String projectID) throws java.rmi.RemoteException, TCLFacadeException
BaseOptionSample
.ItemSample
projectID
- the project idjava.rmi.RemoteException
TCLFacadeException
public WSBaseOptionsContainer getBaseOptionsContainer() throws java.rmi.RemoteException, TCLFacadeException
BaseOptionSample
.
java.rmi.RemoteException
TCLFacadeException
public WSField[] getCustomFields() throws java.rmi.RemoteException, TCLFacadeException
ItemSample
.
java.rmi.RemoteException
TCLFacadeException
public WSAttachmentBean saveAttachment(WSAttachmentBean attach) throws java.rmi.RemoteException, TCLFacadeException
attach
- the attachment bean to be savedTCLFacadeException
java.rmi.RemoteException
public WSAttachmentBean saveAttachment(WSAttachmentBean attach, TCLFacade.InputStreamProvider is) throws java.rmi.RemoteException, TCLFacadeException
attach
- is
- java.rmi.RemoteException
TCLFacadeException
public void deleteAttachment(WSAttachmentBean attachmentBean) throws java.rmi.RemoteException, TCLFacadeException
attachmentBean
- java.rmi.RemoteException
TCLFacadeException
public java.io.InputStream downloadAttachment(WSAttachmentBean attach) throws java.rmi.RemoteException, TCLFacadeException
attach
- java.rmi.RemoteException
TCLFacadeException
public WSCommentEdit[] getComments(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
itemID
- the item object identifier for which the comments shall be retrieved.java.rmi.RemoteException
TCLFacadeException
public void deleteComments(java.lang.String itemID, java.lang.String[] commentIDs) throws java.rmi.RemoteException, TCLFacadeException
itemID
- the item object identifier for which comments shall be deleted.commentIDs
- an array with comment object identifiers for comments that shall be deleted.java.rmi.RemoteException
TCLFacadeException
public void editComment(WSCommentEdit comment) throws java.rmi.RemoteException, TCLFacadeException
comment
- -The comment contains the item object identifier this comment
belongs to and the comment text.java.rmi.RemoteException
TCLFacadeException
public WSItemLinkBean[] getItemLinks(java.lang.String itemID) throws java.rmi.RemoteException, TCLFacadeException
itemID
- the item object identifier for which the links shall be retrieved.java.rmi.RemoteException
TCLFacadeException
public WSItemLinkBean getItemLink(java.lang.String workItemID, java.lang.String itemLinkID) throws java.rmi.RemoteException, TCLFacadeException
itemLinkID
- java.rmi.RemoteException
TCLFacadeException
public void deleteItemLinks(java.lang.String itemID, java.lang.String[] itemLinkIDs) throws java.rmi.RemoteException, TCLFacadeException
itemID
- the item object identifier for which comments shall be deleted.itemLinkIDs
- an array with link object identifiers for links that shall be deleted.java.rmi.RemoteException
TCLFacadeException
public java.lang.String saveItemLink(java.lang.String workItemID, WSItemLinkBean itemLinkBean) throws java.rmi.RemoteException, TCLFacadeException
workItemID
- the id of the work itemitemLinkBean
- -The item link to savejava.rmi.RemoteException
TCLFacadeException
public WSOptionBean[] getLinkTypes() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSParameter[] getLinkTpeParameters(java.lang.String linkTypeID) throws java.rmi.RemoteException, TCLFacadeException
linkTypeID
- java.rmi.RemoteException
TCLFacadeException
public WSPersonBean[] getAllPersons() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSPersonBean[] getPersonsForGroup(java.lang.String groupID) throws java.rmi.RemoteException, TCLFacadeException
groupID
- java.rmi.RemoteException
TCLFacadeException
public WSPersonEditWithContext getNewPersonWithContext() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSPersonEditBean getEditPerson(java.lang.String personID) throws java.rmi.RemoteException, TCLFacadeException
personID
- java.rmi.RemoteException
TCLFacadeException
public WSPersonEditBean getEditPersonByLoginName(java.lang.String loginName) throws java.rmi.RemoteException, TCLFacadeException
loginName
- java.rmi.RemoteException
TCLFacadeException
public WSPersonEditWithContext getEditPersonWithContext(java.lang.String personID) throws java.rmi.RemoteException, TCLFacadeException
personID
- java.rmi.RemoteException
TCLFacadeException
public WSPersonEditWithContext getEditPersonWithContextByLoginName(java.lang.String loginName) throws java.rmi.RemoteException, TCLFacadeException
loginName
- java.rmi.RemoteException
TCLFacadeException
public java.lang.String savePerson(WSPersonEditBean personEdit) throws java.rmi.RemoteException, TCLFacadeException
personEdit
- java.rmi.RemoteException
TCLFacadeException
public void deletePerson(java.lang.String personID) throws java.rmi.RemoteException, TCLFacadeException
personID
- java.rmi.RemoteException
TCLFacadeException
public void replaceAndDeletePerson(java.lang.String personID, java.lang.String newPersonID) throws java.rmi.RemoteException, TCLFacadeException
personID
- newPersonID
- java.rmi.RemoteException
TCLFacadeException
public WSGroupBean[] getAllGroups() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSGroupEditBean getEditGroup(java.lang.String groupID) throws java.rmi.RemoteException, TCLFacadeException
groupID
- java.rmi.RemoteException
TCLFacadeException
public java.lang.String saveGroup(WSGroupEditBean groupEdit) throws java.rmi.RemoteException, TCLFacadeException
groupEdit
- java.rmi.RemoteException
TCLFacadeException
public void deleteGroup(java.lang.String groupID) throws java.rmi.RemoteException, TCLFacadeException
groupID
- java.rmi.RemoteException
TCLFacadeException
public void replaceAndDeleteGroup(java.lang.String groupID, java.lang.String newGroupID) throws java.rmi.RemoteException, TCLFacadeException
groupID
- newGroupID
- java.rmi.RemoteException
TCLFacadeException
public void addPersonsToGroup(java.lang.String groupID, java.lang.String[] personIDs) throws java.rmi.RemoteException, TCLFacadeException
groupID
- the id of grouppersonIDs
- the ids of personsjava.rmi.RemoteException
TCLFacadeException
public void removePersonsFromGroup(java.lang.String groupID, java.lang.String[] personIDs) throws java.rmi.RemoteException, TCLFacadeException
groupID
- the id of the grouppersonIDs
- the ids of the personsjava.rmi.RemoteException
TCLFacadeException
public WSLabelValueBean[] getAllRoles() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSRoleAssignmentBean[] getAssignmentRolesByProject(java.lang.String projectID) throws java.rmi.RemoteException, TCLFacadeException
projectID
- the project to get the assigned roles forjava.rmi.RemoteException
TCLFacadeException
public WSRoleAssignmentBean[] getAssignmentRolesByProjectName(java.lang.String projectName) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void addRoleAssignment(WSRoleAssignmentEditBean roleAssignmentEditBean) throws java.rmi.RemoteException, TCLFacadeException
roleAssignmentEditBean
- java.rmi.RemoteException
TCLFacadeException
public void removeRoleAssignment(WSRoleAssignmentEditBean roleAssignmentEditBean) throws java.rmi.RemoteException, TCLFacadeException
roleAssignmentEditBean
- java.rmi.RemoteException
TCLFacadeException
public WSListBean[] getGlobalLists() throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSListBean[] getProjectLists(java.lang.String projectID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSListBean loadList(java.lang.String listID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSListOptionBean[] getListOptions(java.lang.String listID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSListOptionBean[] getListOptionsByParent(java.lang.String parentID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public java.lang.String saveList(WSListBean listBean) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void deleteList(java.lang.String listID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public WSListOptionBean[] clearListOptions(java.lang.String listID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void addListOptions(WSListOptionBean[] options) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public java.lang.String saveListOption(WSListOptionBean option) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException
public void deletListOption(java.lang.String optionID) throws java.rmi.RemoteException, TCLFacadeException
java.rmi.RemoteException
TCLFacadeException