Uses of Interface
com.polarion.platform.persistence.model.IPObject
Package
Description
-
Uses of IPObject in com.polarion.alm.builder.model
Modifier and TypeInterfaceDescriptioninterface
Build representation.interface
Build artifact. -
Uses of IPObject in com.polarion.alm.projects.model
Modifier and TypeInterfaceDescriptioninterface
interface
interface
IPObject
representation of the project.interface
IPObject
representation of project group.interface
This is a common interface for objects, which are bound to particular project.interface
The model representation of user.interface
IPObject
representation of a User Group. -
Uses of IPObject in com.polarion.alm.tracker
Modifier and TypeMethodDescriptionIBaselinesManager.createObjectBaseline
(IPObject baseObject) Creates an object baseline for a versioned base object; the revision of the base object (baseObject.getRevision()
) will be used as the base revision.IBaselinesManager.createObjectBaselineForChange
(IPObject baseObject) Creates an object baseline for the current change of the base object. -
Uses of IPObject in com.polarion.alm.tracker.exporter
Modifier and TypeMethodDescriptionIPObjectTree.IPObjectTreeNode.getObject()
Returns the object at this tree node. -
Uses of IPObject in com.polarion.alm.tracker.exporter.configuration
Modifier and TypeMethodDescriptionPObjectsExportConfiguration.Builder.withExportedObjects
(IPObject... exportedObjects) -
Uses of IPObject in com.polarion.alm.tracker.model
Modifier and TypeInterfaceDescriptioninterface
interface
interface
Baselines represent a state (represented by a base revision) in the history of an object (a base object) from the Project that contains the Baseline.interface
interface
Typed interface for the work item commentIPObject
.interface
ICommentBase<T extends ICommentBase<T>>
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
This is the tracker-aware extension of the revision interface.interface
Tracker-aware extension ofIUser
class.interface
interface
interface
interface
interface
The typed interface for Work Items.interface
Modifier and TypeMethodDescription<T extends IPObject>
TIBaseline.getBaseObject()
Returns the base object in the base revision of this baseline.Modifier and TypeMethodDescriptionIPriorityEnumeration.getClosestStandardOpt
(float value, IPObject pobject) Tries to find closest standard priority option with lower value.IPriorityEnumeration.wrapOption
(float value, IPObject pobject) Shortcut method, converts the float to string and calls theIEnumeration.wrapOption(String, IPObject)
. -
Uses of IPObject in com.polarion.alm.tracker.model.baselinecollection
Modifier and TypeMethodDescription<T extends IPObject>
TIBaselineCollectionElement.getObjectWithRevision()
Returns the object in the revision it has in the collection.Modifier and TypeMethodDescriptionIBaselineCollection.addElement
(IPObject object) Adds or updates the element for the given object.IBaselineCollection.getElement
(IPObject object) Returns the element for the given object if there is one.boolean
Whether this element contains the object.void
IBaselineCollection.removeElement
(IPObject object) Removes the element for the given object if there is one. -
Uses of IPObject in com.polarion.alm.tracker.model.signatures
Modifier and TypeInterfaceDescriptioninterface
Document workflow signature represents a signature for one transition to a workflow status of a document.interface
interface
Workflow signature represents signature for one transition to a workflow status of the parent object.interface
-
Uses of IPObject in com.polarion.alm.tracker.model.watchlist
-
Uses of IPObject in com.polarion.alm.tracker.workflow
Modifier and TypeMethodDescription<S extends IPObject>
SICallContext.prepareObjectForModification
(S object) Returns aIPObject
that can be modified in a workflow operation.Modifier and TypeMethodDescriptionICallContext.getModifiedObjects()
Returns all objects that were marked as modified. -
Uses of IPObject in com.polarion.alm.ui.server.forms.extensions
-
Uses of IPObject in com.polarion.platform.persistence
Modifier and TypeMethodDescription<T extends IPObject>
IPObjectList<T>IDataService.getObjectHistory
(T object) Returns the whole history of the a given object, in the form of its versioned objects.<T extends IPObject>
IPObjectList<T>Searches the persistent objects by executing the specified SQL-query in the database for the current revision.<T extends IPObject>
IPObjectList<T>IIndexSearchResult.instances()
<T extends IPObject>
IPObjectList<T>IDatabaseSearch.instancesInBaseline
(String sqlQuery, String revision) Searches the persistent objects by executing the specified SQL-query in the database for the specified revision.<T extends IPObject>
IPObjectList<T>Searches the persistent objects by executing the specified SQL-query in the database for the current revision.<T extends IPObject>
IPObjectList<T>IDataService.sqlSearchInBaseline
(String sqlQuery, String revision) Searches the persistent objects by executing the specified SQL-query in the database for the specified revision.Modifier and TypeMethodDescriptionIDataService.createInstance
(String prototypeName) Creates the new instance of the given prototype.IDataService.getInstance
(IObjectId id) Returns an instance of the correct type for the object id.IDataService.getInstance
(SubterraURI uri) Returns an instance of the correct type for the given URI.IDataService.getObjectFromEnumOption
(IEnumOption enumOption) Returns the IPObject instance from the given IEnumOption if it exists.IDataService.getVersionedInstance
(IObjectId objectId, String revision) Returns a versioned object for the given uri and revision.IDataService.getVersionedInstance
(SubterraURI uri, String revision) Returns a versioned object for the given uri and revision.Modifier and TypeMethodDescriptionAdapts the givenIPObject
to the instance of the given target class.boolean
IPersistencePolicy.canAddElementToKey
(IPObject instance, String key) Security check if the current user can add elements to the list value of given key in the instance.boolean
IPersistencePolicy.canCreateInstance
(IPObject instance) Security check if the current user can create the instance.boolean
IPersistencePolicy.canDeleteInstance
(IPObject instance) Security check if the current user can delete the instance.boolean
IPersistencePolicy.canModifyInstance
(IPObject instance) Security check if the current user can modify the instance.boolean
IPersistencePolicy.canModifyKey
(IPObject instance, String key) Security check if the current user can modify value of given key in the instances.boolean
IPersistencePolicy.canReadInstance
(IPObject instance) Security check if the current user can read the instance.boolean
IPersistencePolicy.canReadInstance
(String userId, IPObject instance) Security check if the specified user can read the instance.boolean
IPersistencePolicy.canReadKey
(IPObject instance, String key) Security check if the current user can read value of given key in the instance.boolean
IPersistencePolicy.canRemoveElementFromKey
(IPObject instance, String key) Security check if the current user can remove elements from the list value of given key in instance.void
IPersistencePolicy.checkCanAddElementToKey
(IPObject instance, String key) Similar toIPersistencePolicy.canAddElementToKey(IPObject,String)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanCreateInstance
(IPObject instance) Similar toIPersistencePolicy.canCreateInstance(IPObject)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanDeleteInstance
(IPObject instance) Similar toIPersistencePolicy.canDeleteInstance(IPObject)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanModifyInstance
(IPObject instance) Similar toIPersistencePolicy.canModifyInstance(IPObject)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanModifyKey
(IPObject instance, String key) Similar toIPersistencePolicy.canModifyKey(IPObject,String)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanReadInstance
(IPObject instance) Similar toIPersistencePolicy.canReadInstance(IPObject)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanReadKey
(IPObject instance, String key) Similar toIPersistencePolicy.canReadKey(IPObject,String)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanRemoveElementFromKey
(IPObject instance, String key) Similar toIPersistencePolicy.canRemoveElementFromKey(IPObject,String)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionIDataService.createCollectionForKey
(IPObject pobject, String key, List data) Creates an instance of a collection object, corresponding to the model definition.IDataService.createCollectionForTypeId
(IPObject pobject, String listTypeId, List data) Creates the instance of the list object, that corresponds to the model definition.IDataService.createStructureForKey
(IPObject pobject, String key, Map data) Creates the instance of the structure object, that corresponds to the model definition.IDataService.createStructureForTypeId
(IPObject pobject, String structureId, Map data) Creates the instance of a structure object, that corresponds to the model definition.void
IAuthSrcPermissionService.getAuthSrcPermission
(String userId, IPObject instance) Returns permission for the given instance as defined by authentication source.ICalculatedFieldsService.getCalculatedFieldIds
(IPObject instance) Calculated fields configured for given instance.ICustomFieldsService.getCustomField
(IPObject instance, String featureId) Similar toICustomFieldsProvider.getCustomField(String, String, com.polarion.subterra.base.data.identification.IContextId)
, but based on the given instance.ICustomFieldsService.getValidCustomFieldIds
(IPObject instance) void
Resolves theIPObject
with data from the server.void
IEnumeration.wrapOption
(String optionId, IPObject pobject) Wraps any given ID into a valid option of this enumeration.Modifier and TypeMethodDescriptionvoid
IPersistencePolicy.preEvaluateCustomSets
(Iterable<IPObject> instances) Internal API, do not use. Pre-evaluates custom sets for first 20 instances from the givenIterable
. It is meant for improving performance of evaluating the custom sets permissions. Not persisted instances are ignored. The instances should be sorted by prototype and context for best efficiency. -
Uses of IPObject in com.polarion.platform.persistence.diff
Modifier and TypeMethodDescriptionIDiffManager.generateChange
(String user, Date timeStamp, String revison, IPObject beforeObject, IPObject afterObject, Set<String> ignoredFields) Shortcut forgenerateChange(user, timeStamp, revision, beforeObject, afterObject, ignoredFields, new String[0])
IDiffManager.generateChange
(String user, Date timeStamp, String revison, IPObject beforeObject, IPObject afterObject, Set<String> ignoredFields, String[] fieldOrder) Compares the given objects and creates theIChange
, filling its fields withuser, timeStamp, revision
values.IDiffManager.generateDiff
(IPObject beforeObject, IPObject afterObject, Set<String> ignoredFields) Shortcut forgenerateDiff(beforeObject, afterObject, ignoredFields, new String[0]
IDiffManager.generateDiff
(IPObject beforeObject, IPObject afterObject, Set<String> ignoredFields, String[] fieldOrder) Compares two objects and produces diff for individual fields.IChange[]
IDiffManager.generateHistory
(IPObject object, Set<String> ignoredFields) Shortcut forgenerateHistory(object, ignoredFields, new String[0], false)
.IChange[]
IDiffManager.generateHistory
(IPObject object, Set<String> ignoredFields, String[] fieldOrder) Shortcut forgenerateHistory(object, ignoredFields, fieldOrder, false)
.IChange[]
IDiffManager.generateHistory
(IPObject object, Set<String> ignoredFields, String[] fieldOrder, boolean includeEmpty) Retrieves the complete history of given object and transforms it into series of change objects. -
Uses of IPObject in com.polarion.platform.persistence.model
Modifier and TypeInterfaceDescriptioninterface
IPObjectList<T extends IPObject>
The collection that holdsIPObject
s.Modifier and TypeMethodDescriptionIPObjectFactory.createNewObject
(IPrototype prototype, IDataService persistence) Creates instance of correct type, which is not persistent yet.IPObjectFactory.createObjectForDAO
(com.polarion.subterra.base.data.object.IDataObject dao, IDataService persistence) Creates instance of the correct type, wrapping the given data object.IPObjectFactory.createObjectForURI
(SubterraURI uri, IDataService persistence) Creates instance of the correct type for the given URI.Modifier and TypeMethodDescriptionAdapts the givenIPObject
to instance of given target class.void
IPObject.copyTo
(IPObject dest, Set<String> includeKeys, Set<String> excludeKeys, boolean includeAllCustomFields, Set<String> notCopiedCustomFields, Set<String> convertedCopiedCustomFields) Copies the content of this IPObject to a given IPObject.IListFactory.createList
(IPObject pobject, IListType prototype, boolean readOnly, List data) Creates the instance ofITypedList
, which wraps the given collection (and possibly implements some model specific interface).IStructureFactory.createStructure
(IPObject pobject, IStructType prototype, boolean readOnly, Map data) Creates the instance ofIStructure
, which wraps the given collection (and possibly implements some model specific interface) -
Uses of IPObject in com.polarion.platform.persistence.notifications
Modifier and TypeFieldDescriptionfinal IPObject
ChangeInfo.after
Object containing the version after the change.final IPObject
ChangeInfo.before
Object containing the version before the change.final IPObject
ChangeInfo.current
The object, which this change is about.Modifier and TypeMethodDescriptionstatic IPObject
ChangeInfo.getResolvedObjectOrNull
(IPObject object, String revision) Modifier and TypeMethodDescriptionstatic ChangeInfo
ChangeInfo.create
(IPObject obj, String revision, String previousRevision, boolean before, boolean after) static ChangeInfo
ChangeInfo.create
(ChangeInfo change, IPObject obj, String beforeRev, String afterRev) static IPObject
ChangeInfo.getResolvedObjectOrNull
(IPObject object, String revision) ModifierConstructorDescriptionChangeInfo
(IPObject current, String author, IPObject before, IPObject after) INTERNAL This method is not part of Polarion API. -
Uses of IPObject in com.polarion.platform.persistence.spi
Modifier and TypeMethodDescription<T extends IPObject>
com.polarion.platform.persistence.internal.model.IFieldCopier<T>PObject.copy()
Internal method, not an API.Modifier and TypeMethodDescriptionDefaultPObjectFactory.createNewObject
(IPrototype prototype, IDataService persistence) DefaultPObjectFactory.createObjectForDAO
(com.polarion.subterra.base.data.object.IDataObject dao, IDataService persistence) DefaultPObjectFactory.createObjectForURI
(SubterraURI uri, IDataService persistence) Structure.getPObject()
Modifier and TypeMethodDescriptionvoid
PObject.copyTo
(IPObject dest, Set<String> includeKeys, Set<String> excludeKeys, boolean includeAllCustomFields, Set<String> notCopiedCustomFields, Set<String> convertedCopiedCustomFields) DefaultListFactory.createList
(IPObject pobject, IListType prototype, boolean readOnly, List data) DefaultStructureFactory.createStructure
(IPObject pobject, IStructType prototype, boolean readOnly, Map data) void
IDynamicRolesProvider.fillDynamicRoles
(Set<String> roles, String userName, IPObject pobject) Add all dynamic roles of given user with relation to given object.IDynamicRolesProviderRegistry.getDynamicRoles
(String userName, IPObject pobject) Get all dynamic roles of given user with relation to given object.static Properties
AbstractObjectEnumFactory.getExtendedProperties
(IPObject pObject, String iconUrl, String uiLink) Returns properties object with values extracted from given arguments.static boolean
AbstractObjectEnumFactory.isNullOrUnresolvable
(IPObject pObject) Checks if givenIPObject
is null or unresolvable.Wraps the low-level value from data object into the high-level value returned byIPObject
static Object
Wraps the low-level value from data object into the high-level value returned byIPObject
static Object
ValueHelper.wrapCustomField
(IPObject pobject, String key, IType targetType, Object value) Wraps the low-level value of CUSTOM FIELD from data object into the high-level value returned byIPObject
IObjectEnumeration.wrapObject
(IPObject object) Wraps any given IPObject into a valid option of this enumeration.AbstractEnumeration.wrapOption
(String optionId, IPObject pobject) AbstractObjectEnumeration.wrapOption
(String optionId, IPObject pobject) ModifierConstructorDescriptionCustomTypedList
(IPObject pobject, IListType prototype, boolean readOnly, List data) ModelTypedList
(IPObject pobject, IListType prototype, boolean readOnly, List data) PObjectTypedList
(IPObject pobject, IListType prototype, boolean readOnly, List data) -
Uses of IPObject in com.polarion.psvn.core.notifications