Package | Description |
---|---|
prodoc |
Main package of OpenProdoc containing most classes
|
prodoc.security |
Security package of OpenProdoc containing authenticators
|
Modifier and Type | Class and Description |
---|---|
class |
PDExceptionFunc
OpenProdoc Functional exceptions
|
Modifier and Type | Method and Description |
---|---|
void |
PDObjDefs.addAtribute(Attribute Attr)
Add (and saves) a new attribute to the current object definition
|
void |
Record.addAttr(Attribute newAttr)
Adds an attribute to the current record
|
void |
PDGroups.addGroup(java.lang.String GroupName)
Add (and Saves)N a Group as member of another Group
|
void |
PDACL.addGroup(java.lang.String GroupName,
int Permision)
Add a Group to an ACL
|
void |
PDThesaur.AddLang(java.util.HashSet memLang)
Adds a list of Id of Terms as translations Relations to the current Term
|
void |
PDObjDefs.AddObjectTables(java.lang.String Name,
Attribute NewAttr)
Update the definition of a created object type, adding an additional attribute
and updating the created tables
|
void |
Record.addRecord(Record newRec)
Add all the Attributes of the parameter that DON'T exist in the current Record
|
void |
PDThesaur.AddRT(java.util.HashSet memRT)
Adds a list of Id of Terms as Relations to the current Term
|
void |
PDGroups.addUser(java.lang.String UserName)
Add (and saves) a new user to the Group
|
void |
PDACL.addUser(java.lang.String UserName,
int Permision)
Add an User to an ACL
|
boolean |
Attribute.AddValue(java.lang.Object pValue)
Add a value to the set of values
|
abstract void |
DriverGeneric.AnularTrans()
Stops/roolback a transaction
|
void |
DriverJDBC.AnularTrans()
Aborts a Transaction
|
void |
DriverRemote.AnularTrans()
Aborts a Transaction
|
boolean |
Record.assign(Record rec)
Assígn the values Attributes of a Record to the existing identical Attributes of current Record
|
void |
ObjPD.assignValues(Record Rec)
Generic "abstract" method for assigning a Record Values to an OPD Object
|
void |
PDACL.assignValues(Record Rec)
Assign new values to the ACL object
|
void |
PDAuthenticators.assignValues(Record Rec)
Assign new values to the PDAuthenticator object
|
void |
PDCustomization.assignValues(Record Rec)
Assign new values to the Customization object
|
void |
PDDocs.assignValues(Record Rec)
Assign the values of the record to the fields of the object
|
void |
PDEvent.assignValues(Record Rec)
Assign new values to the Event object
|
void |
PDFolders.assignValues(Record Rec)
Assign the values of the record to the fields of the object
|
void |
PDGroups.assignValues(Record Rec)
Assign new values to the Group object
|
void |
PDMessage.assignValues(Record Rec)
Assign new values to the Message object
|
void |
PDMimeType.assignValues(Record Rec)
Assign new values to the MimeType object
|
void |
PDObjDefs.assignValues(Record Rec)
Assign new values to the ObjDef object
|
void |
PDRepository.assignValues(Record Rec)
Assign new values to the Repository object
|
void |
PDRoles.assignValues(Record Rec)
Assign new values to the Roles object
|
void |
PDServer.assignValues(Record Rec)
Assign new values to the Server object
|
void |
PDTasksCron.assignValues(Record Rec)
Assign new values to the TaskCron object
|
void |
PDTasksDef.assignValues(Record Rec)
Assign new values to the TaskDef object
|
void |
PDTasksDefEvent.assignValues(Record Rec)
Assign new values to the TaskDefEvent object
|
void |
PDTasksExec.assignValues(Record Rec)
Assign new values to the TaskExec object
|
void |
PDTasksExecEnded.assignValues(Record Rec)
Assign new values to the TasksExecEnded object
|
void |
PDThesaur.assignValues(Record Rec) |
void |
PDTrace.assignValues(Record Rec)
Assign new values to the PDTrace object
|
void |
PDUser.assignValues(Record Rec) |
ObjPD |
DriverGeneric.BuildObj(org.w3c.dom.Node OPDObject)
Build an OpenProdoc object from an XML node
|
void |
PDDocs.CancelCheckout()
Unlocks the document, deleting the PWC and all the changes made
|
abstract void |
DriverGeneric.CerrarTrans()
Starts a transaction
|
void |
DriverJDBC.CerrarTrans()
Ends a transaction
|
void |
DriverRemote.CerrarTrans()
Ends a transaction
|
void |
DriverGeneric.ChangePassword(java.lang.String UserName,
java.lang.String OldPassword,
java.lang.String NewPassword)
Changes (or transmit the change to server defined in the authenticator) the password
|
void |
PDDocs.Checkin(java.lang.String VersionName)
Checkin the document, commiting the private working copy of he user, with the temporal metadata and content,
unloking the document and publisihng a new version with the specified version label
|
void |
PDDocs.Checkout()
Locks the current document, creating a private working copy
|
void |
ObjPD.Clear()
Deletes the values assigned to the current object
|
void |
Attribute.ClearValues()
Clear of the values in multivalued attributes
|
abstract void |
DriverGeneric.CloseCursor(Cursor CursorIdent)
Closes the cursor, calling also to
DriverGeneric.delCursor(prodoc.Cursor) |
void |
DriverJDBC.CloseCursor(Cursor CursorIdent)
Close a Cursor
|
void |
DriverRemote.CloseCursor(Cursor CursorIdent)
Close a Cursor
|
void |
PDDocs.ConvertJavaDoc(java.io.File f,
java.lang.String DocType,
java.lang.String FoldType)
Converts a all Javadoc documents in a Filesystem in OpenProdoc documents with .opd metadata
|
void |
DriverGeneric.ConvertJavaDocImport(PDFolders FoldAct,
java.lang.String ImpPath,
java.lang.String FoldType,
java.lang.String DocType,
boolean Strict)
Imports a folder structure of Javadoc files, MODIFYING them for use in OpenProdoc
|
Attribute |
PDObjDefs.ConvertRec(Record Rec)
Generates an Attribute from a Record containing definition (Ex.loaded from DDBB)
|
Record |
Record.Copy()
Creates a identical copy of he record with the same Attributes and values
|
Record |
Record.CopyMono()
Returns a Copy of NON Multivalued Attributes
|
Record |
Record.CopyMulti()
Returns a Copy of Multivalued Attributes
|
java.lang.String |
PDFolders.CreateChild(java.lang.String FoldName)
Creates a new folder under the current object with inherited ACL,
default folder type and the name FoldName
|
void |
PDObjDefs.CreateObjectTables(java.lang.String Name,
boolean isFolder)
Creates the Objects table with the definition
|
void |
DriverGeneric.CreateRep(PDRepository Rep)
Creates a repository using the definition received (i.e. a Folder, a table blob, etc)
|
void |
PDACL.DelAllGroups()
deletes-desassigns all Groups of the current ACL
|
void |
PDGroups.DelAllSubGroups() |
void |
PDACL.DelAllUsers()
deletes-desassigns all users of the current ACL
|
void |
PDGroups.DelAllUsers() |
void |
PDObjDefs.delAtribute(java.lang.String AttrName)
Deletes (also in DDBB) an Attribute from object definition
|
void |
PDObjDefs.DelAtributes()
Deletes ALL the Attributes of the current definition
|
abstract void |
DriverGeneric.delete()
Deletes e sesion
|
void |
DriverJDBC.delete()
Disconects freeing all resources
|
void |
DriverRemote.delete()
Disconects freeing all resources
|
void |
ObjPD.delete()
Generic method for deleting an element
|
void |
PDDocs.delete()
Logically deletes the actual (with actual Id) document
Move the documents to trashbin
|
void |
PDFolders.delete()
Deletes the folder and all the documents and subfolders contained recursively
If the number of folders, documents and levels is too big, this method can
create problems in the rollback of the database storing the metadata
|
void |
PDThesaur.delete()
Deletes the Thesaur and all the documents and subThesaurs contained recursively
If the number of Thesaurs, documents and levels is too big, this method can
create problems in the rollback of the database storing the metadata
|
void |
PDObjDefs.DeleteObjectTables(java.lang.String Name)
Destroys all the tables created for storing objects of a type
|
void |
PDTrace.DeleteRange(java.lang.String ObjType,
java.util.Date D1,
java.util.Date D2)
Deletes a range of traces
|
void |
PDThesaur.DeleteTermLang()
Deletes all the relationship/translations terms current id
|
void |
PDThesaur.DeleteTermRT()
Deletes all the relationship/related terms current id
|
void |
PDACL.delGroup(java.lang.String GroupName)
Deletes a Group from an ACL
|
void |
PDGroups.delGroup(java.lang.String GroupName)
Delete a Group from his parent Group
|
void |
PDACL.delGroupReferences(java.lang.String GroupName)
Deletes ALL references to a Group in ANY ACL
|
void |
PDGroups.delGroupReferences(java.lang.String GroupName)
Deletes ALL references to a Group in ANY Group
|
void |
PDObjDefs.DelObjectTables(java.lang.String Name,
Attribute OldAttr)
Removes an attribute from a created object type, updating definition and tables created
|
void |
Record.delRecord(Record substRec)
Removes from the current Record all the (existing) Attributes included in the parameter
|
void |
PDACL.delUser(java.lang.String UserName)
Deletes a User from an ACL
|
void |
PDGroups.delUser(java.lang.String UserName)
Delete a User from his parent Group
|
void |
PDACL.delUserReferences(java.lang.String UserName)
Deletes ALL references to a User in ANY ACL
|
void |
PDGroups.delUserReferences(java.lang.String UserName)
Deletes ALL references to a User in ANY Group
|
void |
DriverGeneric.DestroyRep(PDRepository Rep)
DESTROY a repository using the definition received (i.e. a Folder, a table blob, etc)
|
java.util.HashSet |
PDGroups.DirectUserMemberShip(java.lang.String UserName)
Init retrieving of what groups the user is member
|
void |
PDTasksExec.Execute()
Executes the task defined in current object
Beware that can be VERY DANGEROUS and DELETE THOUsands OF oBJECTS
|
void |
PDThesaur.Export(java.lang.String ExpThesId,
java.io.PrintWriter PW,
java.lang.String Root,
java.lang.String MainLang)
Exports a thesaurus to RDF-XML format
|
void |
PDThesaur.Export(java.lang.String ExpThesId,
java.lang.String Path,
java.lang.String Root,
java.lang.String MainLang)
Exports a thesaurus to RDF-XML format
|
void |
PDFolders.ExportDocs(java.lang.String Path)
Export All documents in folder
|
void |
PDDocs.ExportXML(java.lang.String FolderPath,
boolean AbsPath)
Builds an XML of the object including the file to be printed or exported
|
java.lang.String |
PDMimeType.Ext2Mime(java.lang.String pExt)
Converts an extension in mimetype
|
void |
Conector.freeSesion(DriverGeneric Session)
Frees a sesion locked previously in
Conector.getSession(java.lang.String, java.lang.String) |
static void |
ProdocFW.freeSesion(java.lang.String ConectorName,
DriverGeneric Session)
releases a reserved session
|
java.util.HashSet |
PDGroups.FullGroupMemberShip(java.lang.String GroupName)
Init retrieving of what groups the group is member
|
java.util.HashMap |
PDACL.FullUserMemberShip(PDUser User)
Init retrieving of what groups the UserName is member
|
java.util.HashSet |
PDGroups.FullUserMemberShip(java.lang.String UserName)
Init retrieving of what groups the UserName is member
|
static Condition |
Condition.genContainsCond(java.lang.String TabName,
java.lang.String Arg,
DriverGeneric Drv)
Search in the Fulltext repository and generates a condition with the list of document that meet the FT criteria
|
Cursor |
PDTasksExec.GenCur()
Generates a Cursor with the set of elements defined in configuration
|
java.util.ArrayList<java.lang.String> |
PDReport.GenerateRep(java.lang.String pIdParent,
Cursor pListDocs,
java.util.Vector pVectRec,
int pRecsPag,
int pPagsDoc,
java.lang.String OSFolder)
generates a report with the current PDId
|
java.util.ArrayList<java.lang.String> |
PDReport.GenerateRep(java.lang.String pIdParent,
Cursor pCurElems,
java.util.Vector pVectRec,
int pRecsPag,
int pPagsDoc,
java.lang.String OSFolder,
int MaxResults)
generates a report with the current PDId
|
java.lang.StringBuilder |
PDReport.GenerateRepString(java.lang.String pIdParent,
Cursor pListDocs,
java.util.Vector pVectRec)
Generates a list of report generated
|
static Condition |
Condition.genInFolder(java.lang.String FoldRef,
DriverGeneric Drv)
Create conditions for searching the elements contained in a specific folder
|
static Conditions |
Condition.genInTreeCond(java.lang.String FoldRef,
DriverGeneric Drv)
Create conditions for searching all the elements UNDER a specific folder at any level
|
static void |
PDException.GenPDException(java.lang.String TextExcep,
java.lang.String OptParam)
creates and thows a new PDException with the information provided
|
Cursor |
ObjPD.getAll()
Returns ALL the elements of the current OPD Class
|
Cursor |
PDDocs.getAll()
Overloading of abstract method.
|
Cursor |
PDFolders.getAll()
Overrided method in generic OpenProdoc object.
|
Attribute |
Record.getAttr(int NumAttr)
Return the Attribute with the position specified in the record
|
Record |
PDObjDefs.GetAttrDef()
Returns the Record containg the definition of attributes of current object type (loading if needed)
|
int |
PDReport.getDocsPerPage()
Returns number of docs per page
|
DriverGeneric |
ObjPD.getDrv() |
java.lang.String |
PDDocs.getFile(java.lang.String FolderPath)
"Download" a file referenced by the PDID-
|
java.lang.String |
PDDocs.getFileOpt(java.lang.String FolderPath,
boolean Overwrite)
"Download" a file referenced by the PDID.
|
java.lang.String |
PDDocs.getFileVer(java.lang.String FolderPath,
java.lang.String Ver)
"Download" a file referenced by the PDID-
|
java.lang.String |
PDDocs.getFileVerOpt(java.lang.String FolderPath,
java.lang.String Ver,
boolean Overwrite)
"Download" a file version referenced by the current PDID and document version.
|
java.lang.String |
PDDocs.GetIdChild(java.lang.String ParentId,
java.lang.String DocTitle)
Returns the Id of a document with title DocTitle child of folder ParentId
|
java.lang.String |
PDFolders.GetIdChild(java.lang.String ParentId,
java.lang.String FoldName)
Returns the Id of a folder with name FoldName child of folder ParentId
|
java.lang.String |
PDThesaur.GetIdChild(java.lang.String ParentId,
java.lang.String TermName)
Returns the Id of a Term with name TermName child of Term ParentId
|
java.lang.String |
PDFolders.getIdPath(java.lang.String FoldName)
Travels by the path to find the Id of last folder in path
|
java.lang.String |
PDThesaur.getIDThesaur() |
java.util.Vector |
PDThesaur.getList(java.util.HashSet IdList)
Creates a Cursot containing all the termm with the PDID included in IdList
|
Cursor |
PDObjDefs.getListAttr(java.lang.String ClassName)
Return a Cursor with the list of the attibutes of ClassName
|
Cursor |
PDDocs.getListContainedDocs(java.lang.String PDIdFold)
Return the docs in a folder
|
java.util.HashSet |
PDFolders.getListDescendList(java.lang.String PDId)
return a list of folders contained (at any level) in the forlder specified
|
java.util.HashSet |
PDThesaur.getListDescendList(java.lang.String PDId)
Search and returns a Set containing the list of all narrow terms of a term
|
java.util.HashSet<java.lang.String> |
PDFolders.getListDirectDescendList(java.lang.String PDId)
Return a list of all the folders of any type whose DIRECT parent is PDId
|
java.util.HashSet |
PDThesaur.getListDirectDescendList(java.lang.String PDId)
Return a list of all the Thesaurs of any type whose DIRECT parent is PDId
|
Cursor |
PDObjDefs.getListDocs()
Search for accesible definitions of CREATED clases from family CT_DOC
|
Cursor |
PDObjDefs.getListDocsActive()
Search for accesible definitions of CREATED clases from family CT_DOC
|
Cursor |
PDObjDefs.getListDocsRIS()
Search for accesible definitions of clases from family CT_DOC
|
Cursor |
PDObjDefs.getListFold()
Search for accesible definitions of clases from family CT_FOLDER
|
Cursor |
PDObjDefs.getListFoldActive()
Search for accesible definitions of clases from family CT_FOLDER
|
java.util.HashSet |
PDFolders.getListGrandParentList(java.lang.String Parent)
Search the list of folders that contain the specified folder
|
java.util.HashSet |
PDThesaur.getListGrandParentList(java.lang.String Parent)
Search and return all de hierachy of parent terms, including the therausus
|
java.util.HashSet |
PDThesaur.getListLang(java.lang.String TermId)
Obtain a list of the Codes of translation terms
|
Cursor |
PDObjDefs.getListParentAttr(java.lang.String ClassName)
return a Cursor with the list of atributes of parent class of ClassName
including inherited.
|
Cursor |
PDObjDefs.getListParentAttr2(java.lang.String ClassName)
return a Cursor with the list of atributes of parent class of ClassName
including inherited.
|
java.util.Vector |
PDObjDefs.getListParentClases(java.lang.String ClassName)
return an ORDERED Vector of clases parent of ClassName (excluded)
|
java.util.Vector |
PDObjDefs.getListParentClases2(java.lang.String ClassName)
return an ORDERED Vector of clases parent of ClassName (Included)
|
Cursor |
PDReport.GetListReports()
Return a Cursor of visible Reports
|
java.util.HashSet |
PDThesaur.getListRT(java.lang.String TermId)
Obtain a list of the Codes of related terms
|
java.util.HashSet<java.lang.String> |
PDObjDefs.getListSubClases(java.lang.String ClassName)
return an Vector of Subclases of ClassName (Included)
|
java.util.HashSet |
PDThesaur.getListUF(java.lang.String TermId)
Obtain a list of the Codes of Used For terms
|
java.util.HashSet<java.lang.String> |
PDObjDefs.getNamesDocsDefs()
Creates a HashSet with all the names of Documents definitions yet CREATED and
allowed to the user (by ACL)
|
java.util.HashSet<java.lang.String> |
PDObjDefs.getNamesFoldDefs()
Creates a HashSet with all the names of FOLDER definitions yet CREATED and
allowed to the user (by ACL)
|
java.util.HashSet<java.lang.String> |
PDObjDefs.getNamesUncreatedDefs(boolean Folds)
Creates a Hashset with folder or document definitions NOT CREATD yet
|
int |
PDReport.getPagesPerFile()
Returns the number of pages per files
|
java.lang.String |
PDFolders.getPathId(java.lang.String Id)
From a Id generates the "path" as a Filesystem
|
PDCustomization |
DriverGeneric.getPDCust()
Returns the customization assigned to session, creating if needed
|
Record |
ObjPD.getRecord()
Generic "abstract" method for returning a Record of loaded OPD Object
|
Record |
PDACL.getRecord()
Returns a record with the current values
|
Record |
PDAuthenticators.getRecord()
Returns a record with the current values
|
Record |
PDCustomization.getRecord()
Returns a record with the current values
|
Record |
PDDocs.getRecord()
Constructs a record with all the attributes of the document type and the values
of the attributes asigned using the setter of the class.
|
Record |
PDEvent.getRecord()
Returns a record with the current values
|
Record |
PDFolders.getRecord()
Constructs a record with all the attributes of the folder type and the values
of the attributes asigned using the setter of the class.
|
Record |
PDGroups.getRecord()
Returns a record with the current values
|
Record |
PDMessage.getRecord()
Returns a record with the current values
|
Record |
PDMimeType.getRecord()
Returns a record with the current values
|
Record |
PDObjDefs.getRecord()
Returns a record with the current values
|
Record |
PDRepository.getRecord()
Returns a record with the current values
|
Record |
PDRoles.getRecord()
Returns a record with the current values
|
Record |
PDServer.getRecord()
Returns a record with the current values
|
Record |
PDTasksCron.getRecord()
Returns a record with the current values
|
Record |
PDTasksDef.getRecord()
Returns a record with the current values
|
Record |
PDTasksDefEvent.getRecord()
Returns a record with the current values
|
Record |
PDTasksExec.getRecord()
Returns a record with the current values
|
Record |
PDTasksExecEnded.getRecord()
Returns a record with the current values
|
Record |
PDThesaur.getRecord()
Returns a record with the current values
|
Record |
PDTrace.getRecord()
Returns a record with the current values
|
Record |
PDUser.getRecord()
Returns a record with the current values
|
Record |
PDACL.getRecordAclGroupsStruct()
Returns the structure of the Acl-Groups Record
|
Record |
PDACL.getRecordAclUsersStruct()
Returns the structure of the Acl-Users Record
|
static Record |
PDObjDefs.getRecordAttrsStruct()
returns the record containing the definition of structure for Object Attribute definition
|
Record |
PDGroups.getRecordGroupGroupsStruct()
Returns the name of GroupsGroups relation table in DDBB
|
Record |
PDGroups.getRecordGroupUsersStruct()
returns the structure of relation GroupsUsers
|
Record |
PDDocs.getRecordStruct()
Return a copy of the static structure of attributes for the class
|
static Record |
PDDocs.getRecordStructPDDocs()
Return a copy of the static structure of attributes for the class
|
static Record |
PDFolders.getRecordStructPDFolder()
Return a copy of the static structure of attributes for the class
|
static Record |
PDThesaur.getRecordStructPDThesaur()
Returns the fixed structure of thesaur
|
Record |
PDDocs.getRecordStructVer()
Return a Copy of structure of standard version table
|
Record |
PDDocs.getRecSum()
Return all the Attributes for the current document type
empty or filled (depending if it has been used)
if needed loads the definition
|
Record |
PDFolders.getRecSum()
Return all the Attributes for the current folder type
empty or filled (depending if it has been used)
if needed loads the definition
|
PDRoles |
PDUser.getRol() |
DriverGeneric |
Conector.getSession(java.lang.String user,
java.lang.String Password)
Returns a session from the pool
adding a new session if all the session are Locked
|
static DriverGeneric |
ProdocFW.getSession(java.lang.String ConectorName,
java.lang.String user,
java.lang.String Password)
Returns an OpenProdoc Session, creating one when needed
|
void |
PDDocs.getStream(java.io.OutputStream OutBytes)
"Download" a file referenced by the PDID-
the OutputStream will be closed at the end
|
void |
PDDocs.getStreamB64(java.io.OutputStream OutBytes)
"Download" AS BASE64 file referenced by the PDID
the OutputStream will be closed at the end
|
void |
PDDocs.getStreamDel(java.io.OutputStream OutBytes)
"Download" a file referenced by the PDID and the current assigned version
the OutputStream will be closed at the end
|
void |
PDDocs.getStreamVer(java.io.OutputStream OutBytes)
"Download" a file referenced by the PDID and the current assigned version
the OutputStream will be closed at the end
|
void |
PDDocs.getStreamVerB64(java.io.OutputStream OutBytes)
"Download" AS BASE64 file referenced by the PDID and assigned version
the OutputStream will be closed at the end
|
java.util.ArrayList<Record> |
PDFolders.getTypeDefs()
Return an ordered list of the hierarchy of folder types from whom this
folder type inherit its attributes
|
java.util.ArrayList<Record> |
PDFolders.getTypeRecs()
Returns the collection of attributes of the folder type and its ancestors
loads the definition if there are not loaded
|
java.lang.String |
PDDocs.getUrl()
Build the url of a document combining with reference repository
|
java.lang.String |
PDDocs.getUrlVer(java.lang.String Ver)
Build the url of a document combining with reference repository
|
PDUser |
DriverGeneric.getUser()
Returns, and create if needed, the session user
|
java.util.TreeSet |
Attribute.getValuesList() |
void |
Attribute.Import(java.lang.String Val)
Parses a MULTIPLE or SINGLE String value depending of the Attribute type and ASSIGNS the Value to the object
|
int |
PDThesaur.Import(java.lang.String ThesName,
java.lang.String ImpThesId,
java.io.File XMLFile,
java.lang.String MainLang,
java.lang.String Root,
boolean SubThesLang,
boolean Transact,
boolean RetainCodes)
Import a thesaurus in RDF-XML format
|
int |
PDThesaur.Import(java.lang.String ThesName,
java.lang.String ImpThesId,
java.io.InputStream XMLFile,
java.lang.String MainLang,
java.lang.String Root,
boolean SubThesLang,
boolean Transact,
boolean RetainCodes)
Import a thesaurus in RDF-XML format
|
java.util.ArrayList<java.lang.String> |
DriverGeneric.ImportDefs(java.lang.String FolderPath,
boolean CreateTypes)
Import a set of definitions
|
int |
PDDocsRIS.ImportFileRIS(java.lang.String ActFolderId,
java.io.InputStream RISFile)
Import a Document(s) from an InputStream file RIS definition
|
int |
PDDocsRIS.ImportFileRIS(java.lang.String ActFolderId,
java.lang.String RISFilepath)
Import a Document(s) from a file RIS definition
|
void |
DriverGeneric.ImportFolder(PDFolders FoldAct,
java.lang.String OriginPath,
boolean IsOneLevel,
boolean IncludeMetadata,
boolean IncludeDocs,
java.lang.String FoldType,
java.lang.String DocType,
boolean Strict) |
java.util.ArrayList<java.lang.String> |
DriverGeneric.ImportPack(java.lang.String FolderPath)
Imports a complete OPD package, with definitions, thesauri and folders/documents
|
java.util.ArrayList<java.lang.String> |
DriverGeneric.ImportThes(java.lang.String FolderPath)
Imports a group of thesauri from a folder
|
void |
Attribute.ImportXML(java.lang.String Val)
Parses a MULTIPLE or SINGLE String value depending of the Attribute type and ASSIGNS the Value to the object
The strings will come from an XML, so the can have escaped chars
|
java.lang.String |
PDDocs.ImportXMLNode(org.w3c.dom.Node OPDObject,
java.lang.String DestFold,
boolean MaintainId)
Import a Doc described by an XML with content referenced
|
PDFolders |
PDFolders.ImportXMLNode(org.w3c.dom.Node OPDObject,
java.lang.String ParentFolderId,
boolean MaintainId)
Import a Folder(s) described by an XML with content referenced
|
PDThesaur |
PDThesaur.ImportXMLNode(org.w3c.dom.Node OPDObject,
java.lang.String ParentThesaurId,
boolean MaintainId)
Evaluates a XML Node and generates a Term
|
void |
PDDocs.ImportXMLNode(org.w3c.dom.Node OPDObject,
java.lang.String FolderPath,
java.lang.String DestFold,
boolean MaintainId)
Import a Doc described by an XML with content referenced
|
abstract void |
DriverGeneric.IniciarTrans()
Ends/commit a transaction
|
void |
DriverJDBC.IniciarTrans()
Starts a Transaction
|
void |
DriverRemote.IniciarTrans()
Starts a Transaction
|
void |
PDGroups.InitGroupMemberShip()
Init retrieving of what groups the actual group is member
|
void |
PDGroups.InitListMembers()
Init retrieving of users members of a group
|
void |
PDGroups.InitListUsers()
Init retrieving of users members of a group
|
static void |
ProdocFW.InitProdoc(java.lang.String ConectorName,
java.lang.String FileConf)
Init all the OpenProdoc framework
|
void |
PDGroups.InitUserMemberShip(java.lang.String UserName)
Init retrieving of what groups the User is member
|
void |
ObjPD.insert()
Generic method for inserting an element
|
void |
PDDocs.insert()
Create a document, including metadata and the path o strean asigned previously
|
void |
PDFolders.insert()
Creates a folder
|
void |
PDThesaur.insert()
creates a new term of the Thesaurus
|
void |
DriverGeneric.InsertFile(java.lang.String Id,
java.lang.String Ver,
java.io.InputStream FileData)
Creates a File in the repository
|
void |
ObjPD.Install()
Creates the Database structure of OpenProdoc
|
void |
PDReport.Install()
Creates the table needed for the class
|
static void |
PDFolders.Install(DriverGeneric Drv)
The install method is generic because for instantiate a object, the class
need to access to the tables for definition
|
void |
DriverGeneric.Install(java.lang.String RootPassword,
java.lang.String DefLang,
java.lang.String DefTimeFormat,
java.lang.String DefDateFormat,
java.lang.String MainKey,
java.lang.String RepName,
boolean RepEncrypt,
java.lang.String RepUrl,
java.lang.String RepUser,
java.lang.String RepPassword,
java.lang.String RepType,
java.lang.String RepParam,
java.util.Vector<java.lang.String> Trace)
Installs OpenProdoc in the current/configured session database, creating all the datamodel
and inserting the base definitions and elements (document types, users, folders, roles, groups, acl,...)
|
boolean |
PDFolders.IsUnder(java.lang.String ParentId)
Return true if the current folder Object is under ParentId
|
boolean |
PDDocs.IsUrl()
Check if the kind of Repository of the current document is referenced
|
Cursor |
PDDocs.ListDeleted(java.lang.String DocTypename)
Creates a cursor with documents deleted of DocTypeName
FILTERED by ACL so certain user would NOT retrieve ALL the deleted documents
|
Cursor |
PDDocs.ListDeletedBefore(java.lang.String DocTypename,
java.util.Date DateBefore)
Creates a cursor with documents deleted of DocTypeName BEFORE a date
FILTERED by ACL so certain user would NOT retrieve ALL the deleted documents
|
Cursor |
PDACL.ListGroups(java.lang.String ACLName)
Returns a List of Groups related to an ACL
|
Cursor |
PDGroups.ListGroups(java.lang.String GrpName)
Init retrieving of users members of a group
|
Cursor |
PDThesaur.ListLang(java.lang.String TermId)
Obtain a CURSOR of the Records of translation terms
|
Cursor |
PDThesaur.ListNT(java.lang.String TermId)
Obtain a CURSOR of
Record of narrow terms |
Cursor |
PDThesaur.ListRT(java.lang.String TermId)
Obtain a CURSOR of the Records of related terms
|
java.util.HashSet |
PDThesaur.ListThes()
List all the Thesaurs
|
Cursor |
PDThesaur.ListUF(java.lang.String TermId)
Creates a Cursor with the terms UF
|
Cursor |
PDACL.ListUsers(java.lang.String ACLName)
Returns a List of Users related to an ACL
|
Cursor |
PDGroups.ListUsers(java.lang.String GrpName)
Init retrieving of users members of a group
|
Cursor |
PDDocs.ListVersions(java.lang.String DocTypename,
java.lang.String Id)
Generates a Cursor containing all the Attributes of all the versions of a Document
The returned versions are ORDERED by date and FILTERED by ACL so certain user would NOT retrieve ALL the versions
|
Record |
ObjPD.Load(java.lang.String Ident)
Load the object of the actual type based on the Iden
|
Record |
PDDocs.Load(java.lang.String Ident)
Loads a document identified by the PDId
for the user that locked the document, loads the PWC
|
Record |
PDFolders.Load(java.lang.String Ident)
Loads the standard attributes of folder identified by Ident
|
Record |
PDThesaur.Load(java.lang.String Ident)
Loads a Term/Thesaurus
|
void |
PDUser.LoadAll(java.lang.String UserName)
Load complete information of the user
|
Record |
PDDocs.LoadCurrent(java.lang.String Ident)
Loads a document identified by the PDId.
|
Record |
PDDocs.LoadDeleted(java.lang.String DocTypename,
java.lang.String Ident)
Load to memory the elements of a deleted Doc, only to obtain a complete definition
|
Record |
PDDocs.LoadFull(java.lang.String Ident)
Load to memory all the elements of a Doc, including all the inherited attributes and multivalued
|
Record |
PDFolders.LoadFull(java.lang.String Ident)
Load to memory all the elements of a Folder, including all the inherited attributes and multivalued
|
Cursor |
PDThesaur.LoadList(java.util.HashSet IdList)
Creates a Cursot containing all the termm with the PDID included in IdList
|
Record |
PDFolders.LoadRefresh(java.lang.String Ident)
Loads the standard attributes of folder identified by Ident
|
Record |
PDDocs.LoadVersion(java.lang.String Ident,
java.lang.String Vers)
Loads a document version identified by the PDId.
|
java.lang.String |
PDMimeType.Mime2Ext(java.lang.String pMime)
Converts a mimetype in an extension
|
PDDocs |
PDDocs.NextDoc(Cursor Res)
Receives a cursor created with method Search and returns the next folder or null if
there are no more.
|
PDFolders |
PDFolders.NextFold(Cursor Res)
Receives a cursor created with method Search and returns the next folder or null if
there are no more.
|
java.lang.String |
PDGroups.NextGroupMemberShip()
Used for traveling by the list of memberships
|
java.lang.String |
PDGroups.NextMember()
Used for traveling by the members of a Group
|
abstract Record |
DriverGeneric.NextRec(Cursor CursorIdent)
Returns the next record of the cursor
|
Record |
DriverJDBC.NextRec(Cursor CursorIdent)
Retrieves next record of cursor
|
Record |
DriverRemote.NextRec(Cursor CursorIdent)
Retrieves next record of cursor
|
PDThesaur |
PDThesaur.NextTerm(Cursor Res)
Receives a cursor created with method Search and returns the next Term or null if
there are no more.
|
java.lang.String |
PDGroups.NextUserMemberShip()
Used for traveling by the memberships of a User
|
java.lang.String |
PDGroups.NextUsers()
Used for obtaining the list of user of a Group
|
java.util.ArrayList |
PDFolders.OrderedGrandParents(java.lang.String Id)
Returns a Collection containing an ordered set of parent, from father to root.
|
int |
DriverGeneric.ProcessXML(java.io.File XMLFile,
java.lang.String ParentFolderId)
Imports ANY kind of OpenProdoc object(s) (doc, folder, definition, object of any kind,..) in XML format from a file
|
PDFolders |
PDFolders.ProcessXML(java.io.File XMLFile,
java.lang.String ParentFolderId)
Process and XML file
|
PDThesaur |
PDThesaur.ProcessXML(java.io.File XMLFile,
java.lang.String ParentThesaurId)
Process a File containing a set of terms
|
int |
DriverGeneric.ProcessXML(java.io.InputStream XMLFile,
java.lang.String ParentFolderId)
Imports ANY kind of OpenProdoc object(s) (doc, folder, definition, object of any kind,..) in XML format from a InputStream
|
static java.io.File |
PDDocs.ProcessXMLAbby(DriverGeneric Sess,
java.io.File XMLFile,
java.lang.String ParentFoldId,
java.lang.String DateFormat,
java.lang.String TimeStampFormat)
Imports all the documents referenced in a XML file in ABBY FlexyCapture format
|
int |
DriverGeneric.ProcessXMLB64(java.io.InputStream XMLFile,
java.lang.String ParentFolderId)
Imports ANY kind of OpenProdoc object(s) (doc, folder, definition, object of any kind,..) in XML format from a InputStream with base64 content
|
static java.io.File |
PDDocs.ProcessXMLKofax(DriverGeneric Sess,
java.io.File TxtFile,
java.lang.String ParentFoldId,
java.lang.String DateFormat,
java.lang.String TimeStampFormat)
Imports all the documents referenced in a Text file in Kofax Capture format
|
void |
ObjPD.ProcesXMLNode(org.w3c.dom.Node OPDObject)
Process the object definition inserting a new object
|
void |
PDACL.ProcesXMLNode(org.w3c.dom.Node OPDObject)
Process the object definition inserting a new object
|
void |
PDDocs.ProcesXMLNode(org.w3c.dom.Node OPDObject)
Process the object definition inserting a new object
|
void |
PDGroups.ProcesXMLNode(org.w3c.dom.Node OPDObject)
Process the object definition inserting a new object
|
void |
PDObjDefs.ProcesXMLNode(org.w3c.dom.Node OPDObject)
Process the object definition inserting a new object
|
void |
PDDocs.Purge(java.lang.String DocTypename,
java.lang.String Id)
Permanently Destroy document and metadata
|
void |
DriverGeneric.RefreshUser()
Refresh current all the information of current user
|
java.lang.String |
DriverGeneric.RemoteOrder(java.lang.String Order,
org.w3c.dom.Document XMLObjects)
Executes a received order from a remote installation
|
boolean |
Attribute.RemoveValue(java.lang.Object pValue)
Remove a value from the set of values
|
Cursor |
PDTasksDef.Search(Conditions Conds)
Creates a cursor from a set of conditions
|
Cursor |
PDTrace.Search(Conditions Conds)
Search PDTrace objects with conditions creating a Cursor
|
Cursor |
PDThesaur.Search(Conditions AttrConds,
boolean SubThesaurs,
java.lang.String IdActFold,
java.util.Vector Ord)
Search for Thesaurs returning a cursor with the results of Thesaurs with the
indicated values of fields.
|
Cursor |
PDDocs.Search(java.lang.String DocType,
Conditions AttrConds,
boolean SubTypes,
boolean SubFolders,
boolean IncludeVers,
java.lang.String IdActFold,
java.util.Vector Ord)
Search for Documents returning a cursor with the results of Documents with the
indicated values of fields.
|
Cursor |
PDFolders.Search(java.lang.String FolderType,
Conditions AttrConds,
boolean SubTypes,
boolean SubFolders,
java.lang.String IdActFold,
java.util.Vector Ord)
Search for Folders returning a cursor with the results of folders with the
indicated values of fields.
|
Cursor |
PDDocs.Search(java.lang.String FTQuery,
java.lang.String DocType,
Conditions AttrConds,
boolean SubTypes,
boolean SubFolders,
boolean IncludeVers,
java.lang.String IdActFold,
java.util.Vector Ord)
Search for Documents returning a cursor with the results of Documents with the
indicated values of fields.
|
Cursor |
ObjPD.SearchLike(java.lang.String Name)
Search object of the current OPD classby its main identifier (Name, Code,..) using Like DDBB expression
|
Cursor |
ObjPD.SearchLikeDesc(java.lang.String Name)
Search object of the current OPD classby its descriptionusing Like DDBB expression
|
Cursor |
ObjPD.SearchQBE()
Do a Query By Example (bases in values assigned to Atributes) anc returns a Cursor
|
Cursor |
ObjPD.SearchSelect(java.lang.String SQL)
Search in ANY object using SQL Syntax subset, similar to CMIS SQL
|
java.util.Vector<Record> |
ObjPD.SearchSelectV(java.lang.String SQL)
Run a query and return the result as aVector or records
|
java.util.Vector<Record> |
PDFolders.SearchV(java.lang.String FolderType,
Conditions AttrConds,
boolean SubTypes,
boolean SubFolders,
java.lang.String IdActFold,
java.util.Vector Ord)
Search for Folders returning a cursor with the results of folders with the
indicated values of fields.
|
java.util.Vector<Record> |
PDDocs.SearchV(java.lang.String FTQuery,
java.lang.String DocType,
Conditions AttrConds,
boolean SubTypes,
boolean SubFolders,
boolean IncludeVers,
java.lang.String IdActFold,
java.util.Vector Ord)
Search for Documents returning a cursor with the results of Documents with the
indicated values of fields.
|
void |
PDAuthenticators.setAuthType(java.lang.String pAuthType) |
void |
PDObjDefs.setClassType(java.lang.String pClassType)
The family of class (can be only DOCUMENT o FOLDER)
|
void |
PDDocs.setDocType(java.lang.String pDocType)
Assign the name of the type used.
|
void |
PDDocs.setFile(java.lang.String pFilePath)
Assign the file to be uploaded when called insert or update.
|
void |
PDFolders.setFolderType(java.lang.String pFolderType)
Assigns the Folder Type, forcing to reload the definition of type and metadata
|
void |
Attribute.setLongStr(int pLongStr) |
void |
Attribute.setName(java.lang.String pName) |
void |
DriverGeneric.SetPassword(java.lang.String UserName,
java.lang.String NewPassword)
Assigns (or transmit the assignation to server defined in the authenticator) the password
|
void |
Attribute.setPrimKey(boolean PrimKey) |
void |
PDRepository.setRepType(java.lang.String pRepType) |
void |
PDDocs.setStream(java.io.InputStream Bytes)
Assign the file to be uploaded when called insert or update.
|
void |
Attribute.setType(int pType) |
void |
Attribute.setUnique(boolean Unique) |
void |
PDUser.setValidation(java.lang.String pValidation)
Method for validation of the user (password, ldap, etc)
|
void |
Attribute.setValue(java.lang.Object pValue) |
void |
Conector.Shutdown()
Stops all the tasks, sessions and framework of OpenProdoc
|
static void |
ProdocFW.ShutdownProdoc(java.lang.String ConectorName)
Stops OpenProdoc releasing any resource
|
PDMimeType |
PDMimeType.SolveExt(java.lang.String Ext)
Search for the Mimetype corresponding to an extension
|
java.lang.String |
PDMimeType.SolveName(java.lang.String FileName)
Obtains the kind of mimetype indicated by Name/extension
|
java.lang.String |
PDDocs.toHtml()
Returns all the data of the doc as html
|
java.lang.String |
PDFolders.toHtml()
Returns all the data of the doc as html
|
java.lang.String |
Attribute.toXML()
Converts name and value of the attribute to XML
|
java.lang.String |
ObjPD.toXML()
Builds an XML of the object to be printed or exported
|
java.lang.String |
Query.toXML()
Converts the Query in XML so can be reconstructed in remote
|
java.lang.String |
Record.toXML()
Converts all the attributes of the record to XML in a short format
|
java.lang.String |
PDDocs.toXML(boolean IncludeContent)
Builds an XML of the object to be printed or exported
|
java.lang.String |
Attribute.toXMLFull()
Converts all the definition of the attribute to XML
|
java.lang.String |
Attribute.toXMLt()
Converts all the definition of the attribute to XML
|
java.lang.String |
Record.toXMLt()
Converts all the attributes of the record to XML with ALL tags and elements
|
java.lang.String |
Record.toXMLtNotNull()
Converts all the NON null attributes of the record to XML with ALL tags and elements
|
void |
PDDocs.UnDelete(java.lang.String DocTypename,
java.lang.String Id)
Logically UNdeletes de actual (with actual Id) documents
Move the documents FROM trashbin to original folder (o user folder if original folder deleted)
|
void |
ObjPD.unInstall()
Drops DDBB tables of current class
|
void |
DriverGeneric.Uninstall()
Uninstall OpenProdoc from the database
|
void |
ObjPD.update()
Generic method for updating an element
|
void |
PDDocs.update()
update a locked document, including metadata and the path o stream asigned previously
|
void |
PDFolders.update()
Updates the metadata of the folder
|
void |
PDThesaur.update()
Updates the metadata of the Thesaur
|
void |
DriverGeneric.Update(boolean UpMetadataInc,
java.util.Vector<java.lang.String> Trace)
Updates the version and structure of repository database
|
void |
PDUser.UpdatePass(java.lang.String User,
java.lang.String NewPass)
Updates the pàssword of an user
|
void |
Attribute.Verify()
Checks if the current values of the object fullfil the definition
|
void |
Record.Verify()
Checks if the Values in the Record follow the restrictions defined for each Attribute (mainly length or required)
|
Constructor and Description |
---|
Attribute(org.w3c.dom.Node OPDObject)
Constructs an attribute from a XML node.
|
Attribute(java.lang.String pName,
java.lang.String pUserName,
java.lang.String pDescription,
int pType,
boolean pRequired,
java.lang.Object pValue,
int pLongStr,
boolean pPrimKey,
boolean pUnique,
boolean pModifAllowed)
Constructor of an Attribute for MONO valued Attributes
|
Attribute(java.lang.String pName,
java.lang.String pUserName,
java.lang.String pDescription,
int pType,
boolean pRequired,
java.lang.Object pValue,
int pLongStr,
boolean pPrimKey,
boolean pUnique,
boolean pModifAllowed,
boolean pMultivalued)
Default constructor of an Attribute for MONO or MULTI valued Attributes
|
Condition(org.w3c.dom.Node XMLConds)
Buils a Condition object from XML
|
Condition(java.lang.String pField,
java.util.HashSet ListVal)
Compare the value of a field with a list of values (pField in (ListVal) )
|
Condition(java.lang.String pField,
int pComparation,
java.lang.Object pValue)
Constructor that creates a condition where pField COMPARATION pValue
|
Condition(java.lang.String pField,
int pComparation,
java.lang.Object pValue,
int pTypeVal)
Constructor that creates a condition where pField COMPARATION pValue
|
Condition(java.lang.String pField,
Query Search)
Compare the value of a field with the result of query (pField in (select ) )
|
Condition(java.lang.String pField,
java.lang.String pField2)
Compare two columns ( Attr1=Attr2 )
|
Conditions(org.w3c.dom.Node XMLConds)
Buils a Conditions object from XML
|
DriverJDBC(java.lang.String pURL,
java.lang.String pPARAM,
java.lang.String pUser,
java.lang.String pPassword)
Constructor
|
DriverRemote(java.lang.String pURL,
java.lang.String pPARAM,
java.lang.String pUser,
java.lang.String pPassword)
Constructor
|
PDACL(DriverGeneric Drv)
Default constructor
|
PDAuthenticators(DriverGeneric Drv)
default constructor
|
PDCustomization(DriverGeneric Drv)
Default constructor
|
PDDocs(DriverGeneric Drv)
Default constructor that creates a document of the default doctype
|
PDDocs(DriverGeneric Drv,
java.lang.String pDocType)
Constructor indicating the document type.
|
PDDocsRIS(DriverGeneric Drv,
java.lang.String pDocType)
Default constructor
|
PDFolders(DriverGeneric Drv)
Default constructor that creates a Folder of the default Foldertype
|
PDFolders(DriverGeneric Drv,
java.lang.String pFoldType)
Default constructor that creates a document of the specified foldertype
|
PDGroups(DriverGeneric Drv)
default Constructor
|
PDMimeType(DriverGeneric Drv)
Default constructor
|
PDReport(DriverGeneric pDrv)
Default constructor
|
PDRepository(DriverGeneric Drv)
default constructor
|
PDRoles(DriverGeneric Drv)
Default constructor
|
PDServer(DriverGeneric Drv)
Default Constructor
|
PDTasksCron(DriverGeneric Drv)
Default Constructor
|
PDTasksDef(DriverGeneric Drv)
Default Constructor
|
PDTasksDefEvent(DriverGeneric Drv)
Default constructor
|
PDTasksExec(DriverGeneric Drv)
Default constructor
|
PDTasksExecEnded(DriverGeneric Drv)
Dafult constructor
|
PDThesaur(DriverGeneric Drv)
Deafult costructor
|
PDUser(DriverGeneric Drv)
Default constructor
|
PDUser(Record Rec)
Constructs a new object with the values of the record
|
Query(org.w3c.dom.Document XMLObjects)
Constructs a Query from an XML document
|
Modifier and Type | Method and Description |
---|---|
void |
AuthCustom.Authenticate(java.lang.String User,
java.lang.String Pass)
Authenticates calling to a custom authenticator
|
void |
AuthDDBB.Authenticate(java.lang.String User,
java.lang.String Pass)
Authenticates calling to a database
|
abstract void |
AuthGeneric.Authenticate(java.lang.String User,
java.lang.String Pass)
Authenticates the user against the server defined and
thows an exception if the authentication fails.
|
void |
AuthLDAP.Authenticate(java.lang.String User,
java.lang.String Pass)
Authenticates the user against ldap
|
void |
AuthOPD.Authenticate(java.lang.String User,
java.lang.String Pass)
Authenticates the user against the internal database of OpenProdoc
|
void |
AuthSO.Authenticate(java.lang.String User,
java.lang.String Pass)
Checks if the user to authenticate if the same Operative System user running the current proces
|
void |
AuthGeneric.UpdatePass(java.lang.String User,
java.lang.String NewPass)
Method to change the password when is allowed by the kind and actual authenticator
|
void |
AuthOPD.UpdatePass(java.lang.String User,
java.lang.String NewPass)
Method to change the password in OPD
|